javac indices: reorder anonymous indexing to match with intellij idea stub indices

This commit is contained in:
Dmitry Batkovich
2018-04-03 18:57:21 +03:00
parent 14525d5ca1
commit 99bd0d5cb3
13 changed files with 171 additions and 34 deletions
@@ -0,0 +1,19 @@
class Test {
void m() {
new Foo1(new Foo2() {
void m() {
new Foo3() {};
}
}) {
void m1() {
new Foo4() {};
}
void m2() {
new Foo5(new Foo6() {}) {};
}
};
}
}
@@ -0,0 +1,3 @@
public class Foo1 {
Foo1(Foo2 foo2) {}
}
@@ -0,0 +1,2 @@
public class Foo2 {
}
@@ -0,0 +1,2 @@
public class Foo3 {
}
@@ -0,0 +1,2 @@
public class Foo4 {
}
@@ -0,0 +1,3 @@
public class Foo5 {
Foo5(Foo6 foo6) {}
}
@@ -0,0 +1,2 @@
public class Foo6 {
}