mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-13 06:07:04 +07:00
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only) GitOrigin-RevId: bc39e165c886c5c0c131a3e6770f3a688f00e798
15 lines
301 B
Java
15 lines
301 B
Java
interface Either {
|
|
public static final class Left<L> {
|
|
private final L value;
|
|
|
|
private Left(L value) {
|
|
this.value = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
class Main {
|
|
{
|
|
new Either.<error descr="'Left(L)' has private access in 'Either.Left'">Left</error><>("");
|
|
}
|
|
} |