method reference: ref qualified isExact fixed (IDEA-120370)

This commit is contained in:
Anna Kozlova
2014-02-11 18:31:20 +01:00
parent 76846b723a
commit c99aa93112
4 changed files with 45 additions and 11 deletions

View File

@@ -0,0 +1,23 @@
import java.util.List;
import java.util.concurrent.Callable;
public class Tmp {
static void doo(Runnable action){}
static void doo(Callable<?> action){}
interface X<T> {
void bar();
}
interface Y {
void bar();
}
void test(X<String> x1, X x2, Y y) {
doo(x1::bar);
doo(x2::bar);
doo(y::bar);
}
}