fun expr search: minor improvements after reviews

This commit is contained in:
peter
2016-08-13 12:12:19 +02:00
parent 7c189cba80
commit e8ea2598f3
4 changed files with 30 additions and 15 deletions
@@ -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();
}