allow to create inner class on qualifier (IDEA-129663)

This commit is contained in:
Anna Kozlova
2018-06-26 18:42:24 +03:00
parent a66fc1c678
commit 2e22f09d37
5 changed files with 33 additions and 3 deletions
@@ -0,0 +1,12 @@
// "Create inner class 'ArrayList'" "true"
public class Test {
public static void main() {
Inner q = new Inner();
q.new ArrayList();
}
static class Inner {
public class ArrayList {
}
}
}
@@ -1,4 +1,4 @@
// "Create inner class 'ArrayList'" "false"
// "Create inner class 'ArrayList'" "true"
public class Test {
public static void main() {
Inner q = new Inner();