mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
23 lines
331 B
Java
23 lines
331 B
Java
interface A {
|
|
B getB();
|
|
|
|
class B {
|
|
public C c;
|
|
|
|
private enum C {
|
|
SOME
|
|
}
|
|
}
|
|
}
|
|
|
|
class D {
|
|
public static void f(A a) {
|
|
A.B b = a.getB();
|
|
switch (<error descr="A.B.C is inaccessible here">b.c</error>) {
|
|
case SOME:
|
|
break;
|
|
}
|
|
}
|
|
|
|
|
|
} |