mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
for java completion, choose method with most specific return type among same-signature candidates (IDEA-136174)
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
interface Root1 {
|
||||
A get();
|
||||
}
|
||||
interface Root2 extends Root1 {
|
||||
B get();
|
||||
}
|
||||
|
||||
interface Child extends Root1, Root2 {
|
||||
}
|
||||
|
||||
public class Test {
|
||||
public void test(Child child) {
|
||||
child.get<caret>x
|
||||
}
|
||||
}
|
||||
|
||||
interface A {}
|
||||
interface B extends A {}
|
||||
Reference in New Issue
Block a user