mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-30 01:20:53 +07:00
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only) GitOrigin-RevId: 1e1b77009dc78de49c7cc5c44d4704937397bb23
12 lines
312 B
Java
12 lines
312 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);
|
|
}
|
|
} |