javac ast indices: search for lambda expressions; version #2 (with lambda hierarchy)

This commit is contained in:
Dmitry Batkovich
2016-10-17 18:27:26 +03:00
parent 404db589ae
commit fd9cde8660
32 changed files with 1467 additions and 1232 deletions
@@ -0,0 +1,42 @@
import java.util.function.IntSupplier;
import java.util.Collections;
class Foo {
void m() {
Runnable r = Collections::emptyList;
Runnable r2 = () -> {
IntSupplier s = () -> 1;
Runnable r3 = () -> {
};
};
IntSupplier s2 = () -> 1;
}
void m2() {
Runnable r = () -> {
Runnable r3 = () -> {
IntSupplier s2 = () -> 1;
Runnable r4 = () -> {
};
};
IntSupplier s = () -> 1;
};
}
}