mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-29 16:50:55 +07:00
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only) GitOrigin-RevId: 1e1b77009dc78de49c7cc5c44d4704937397bb23
12 lines
446 B
Java
12 lines
446 B
Java
class Test {
|
|
interface I { Object in<EOLError descr="';' expected"></EOLError>
|
|
<error descr="Invalid method declaration; return type required">voke</error>(); }
|
|
interface IStr { String foo(); }
|
|
|
|
public static void call(IStr str) {}
|
|
public static void call(I i) { }
|
|
|
|
public static void main(String[] args) {
|
|
call<error descr="Ambiguous method call: both 'Test.call(IStr)' and 'Test.call(I)' match">(()-> null)</error>;
|
|
}
|
|
} |