mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-28 06:51:01 +07:00
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only) GitOrigin-RevId: ed0cf0daf5dbfb034882d49ad5e9c03f264b451e
13 lines
313 B
Java
13 lines
313 B
Java
import java.io.Serializable;
|
|
|
|
abstract class Test {
|
|
|
|
abstract <T> T test(Class<T> cls);
|
|
|
|
abstract <T> T test(Serializable type);
|
|
|
|
private void call(){
|
|
String s = <error descr="Incompatible types. Found: 'java.lang.String[]', required: 'java.lang.String'">test</error>(String[].class);
|
|
}
|
|
}
|