mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-06-18 23:11:44 +07:00
method refs: fix qualifier when static method is moved; show conflict if instance method is moved
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
interface SAM {
|
||||
String m(MethodReference<String> f, F f1);
|
||||
}
|
||||
|
||||
|
||||
class F {}
|
||||
|
||||
class MethodReference<X> {
|
||||
String ge<caret>tX(F f1) {
|
||||
return null;
|
||||
}
|
||||
|
||||
static void test() {
|
||||
SAM s = MethodReference<String>::getX;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user