mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-24 17:51:09 +07:00
17 lines
354 B
Java
17 lines
354 B
Java
class Outer {
|
|
|
|
private interface Inner {
|
|
void m();
|
|
}
|
|
|
|
void m(Inner i) {}
|
|
}
|
|
|
|
class Usage {
|
|
void test(Outer outer) {
|
|
outer.m(<error descr="'Outer.Inner' has private access in 'Outer'">() -> {}</error>);
|
|
outer.m(<error descr="'Outer.Inner' has private access in 'Outer'">this::foo</error>);
|
|
}
|
|
|
|
void foo() {}
|
|
} |