mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
check inner class access for top level classes only (IDEA-188716)
This commit is contained in:
+8
@@ -1,3 +1,11 @@
|
||||
import java.util.List;
|
||||
|
||||
class A<T extends <error descr="'A.B' has private access in 'A'">A<T>.B</error>> {
|
||||
private class B {}
|
||||
}
|
||||
|
||||
abstract class Outer implements <error descr="'Outer.Inner' has private access in 'Outer'">List<Outer.Inner></error> {
|
||||
private static abstract class Inner implements List<Inner.Key> {
|
||||
private static final class Key {}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user