mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-28 15:20:54 +07:00
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only) GitOrigin-RevId: ed0cf0daf5dbfb034882d49ad5e9c03f264b451e
5 lines
205 B
Java
5 lines
205 B
Java
class Foo<T extends Enum> {
|
|
public T bar(Class<? extends T> type, String str) {
|
|
return Enum.<error descr="Incompatible types. Found: 'java.lang.Enum', required: 'T'">valueOf</error>(type, str);
|
|
}
|
|
} |