mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 00:20:54 +07:00
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 <error descr="'Left(L)' has private access in 'Either.Left'">Either.Left<></error>("");
|
|
}
|
|
} |