mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-04 15:44:48 +07:00
GitOrigin-RevId: 05bdca159a63027ea0d1e3d767d4adb9b258f47e
23 lines
338 B
Java
23 lines
338 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 from here">b.c</error>) {
|
|
case SOME:
|
|
break;
|
|
}
|
|
}
|
|
|
|
|
|
} |