mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 21:44:49 +07:00
fun expr search: minor improvements after reviews
This commit is contained in:
+15
@@ -18,9 +18,24 @@ class Foo {
|
||||
DumbAwareRunnable var1 = () -> "var1";
|
||||
DumbAwareRunnable2 var2 = () -> "var2";
|
||||
DumbAwareFunction var3 = a -> "var3";
|
||||
WithDefaultMethods var4 = () -> "var4";
|
||||
|
||||
foo(() -> "c1", DumbAwareRunnable2.class);
|
||||
bar(() -> "c2");
|
||||
bar2(() -> "c3");
|
||||
}
|
||||
}
|
||||
|
||||
interface WithManyMethods {
|
||||
void run1();
|
||||
void run2();
|
||||
void run3();
|
||||
}
|
||||
interface WithManyMethods2 extends WithManyMethods {
|
||||
}
|
||||
|
||||
interface WithDefaultMethods extends WithManyMethods2 {
|
||||
default String foo() {}
|
||||
default void run1();
|
||||
default void run2();
|
||||
}
|
||||
Reference in New Issue
Block a user