mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-18 04:21:24 +07:00
method reference: ref qualified isExact fixed (IDEA-120370)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user