mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-13 21:55:01 +07:00
javac ast indices is applied for lambda search
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class Bar {
|
||||
void m() {
|
||||
Foo f = () -> {};
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
import java.util.Collections;
|
||||
|
||||
class BarRef {
|
||||
|
||||
static void m() {
|
||||
Foo r = Collections::emptyList;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
@FunctionalInterface
|
||||
public interface F<caret>oo {
|
||||
void doAction();
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
interface FooImpl extends Foo {}
|
||||
|
||||
class AAA {
|
||||
|
||||
void m() {
|
||||
|
||||
FooImpl l = () -> {};
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user