Files
Tagir Valeev 2350d69472 [java-highlighting] JavaCompilationErrorBundle.properties proofreading (DOC-34381)
GitOrigin-RevId: 05bdca159a63027ea0d1e3d767d4adb9b258f47e
2025-02-14 12:45:24 +00:00

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;
}
}
}