mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-29 08:20:55 +07:00
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only) GitOrigin-RevId: 4449ffc2458eeb73fa296453f6963a6eeed28a76
12 lines
464 B
Java
12 lines
464 B
Java
import java.util.List;
|
|
|
|
class Test {
|
|
{
|
|
Class foo = Object.class;
|
|
<warning descr="Unchecked call to 'isAssignableFrom(Class<?>)' as a member of raw type 'java.lang.Class'">foo.isAssignableFrom</warning>(Object.class);
|
|
}
|
|
|
|
public List<String> transform(List<List<String>> result) {
|
|
return <error descr="Incompatible types. Found: 'java.util.List<java.util.List<java.lang.String>>', required: 'java.util.List<java.lang.String>'">result</error>;
|
|
}
|
|
} |