mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 01:09:46 +07:00
Java: Remove duplicates from the completion list for argument of getMethod(). Simplified priority in the argument completion for getField() and getMethod() (IDEA-167250)
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
class Main {
|
||||
void foo() {
|
||||
Test.class.getMethod("<caret>");
|
||||
}
|
||||
}
|
||||
|
||||
class Test extends Parent {
|
||||
public void method(){}
|
||||
public void pMethod(C c){}
|
||||
public void gpMethod(A a, B b){}
|
||||
}
|
||||
|
||||
class Parent extends GrandParent {
|
||||
public void pMethod(C c){}
|
||||
}
|
||||
|
||||
class GrandParent {
|
||||
public void gpMethod(A a, B b){}
|
||||
}
|
||||
|
||||
class A {}
|
||||
class B {}
|
||||
class C {}
|
||||
Reference in New Issue
Block a user