mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 08:50:57 +07:00
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only) GitOrigin-RevId: 4449ffc2458eeb73fa296453f6963a6eeed28a76
12 lines
338 B
Java
12 lines
338 B
Java
class Test {
|
|
public <T> T doStuff() {
|
|
return null;
|
|
}
|
|
public boolean test() {
|
|
return <error descr="Incompatible types. Found: 'java.lang.Object', required: 'boolean'">doStuff</error>();
|
|
}
|
|
|
|
public Boolean test1() {
|
|
return doStuff();
|
|
}
|
|
} |