Java: Avoid duplicates for shadowed members in completion list for arguments of reflection calls. Simplify building the list of method names with PsiClass.getVisibleSignatures() (IDEA-167250)

This commit is contained in:
Pavel Dolgov
2017-03-02 17:23:42 +03:00
parent 9f2db277e9
commit aedc783354
25 changed files with 213 additions and 29 deletions

View File

@@ -0,0 +1,13 @@
class Main {
void foo() {
Test.class.getMethod("<caret>");
}
}
class Test extends Parent {
public static void overloaded(int n){}
}
class Parent {
public static void overloaded(String s){}
}