mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
rewrite functional expression search to use stub index
This commit is contained in:
+7
@@ -4,6 +4,13 @@ class Foo {
|
||||
Foo(I i) {}
|
||||
}
|
||||
|
||||
enum SomeEnum {
|
||||
FOO(() -> 5);
|
||||
|
||||
SomeEnum(I i) {
|
||||
}
|
||||
}
|
||||
|
||||
interface <caret>I {
|
||||
int foo();
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
interface I {
|
||||
void hmmm();
|
||||
}
|
||||
|
||||
class Test<T extends I> {
|
||||
|
||||
void someUnlikelyName(T action) {
|
||||
}
|
||||
|
||||
{
|
||||
someUnlikelyName(() -> {});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user