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,10 @@
class Main {
void foo() {
Test.class.getMethod("overloaded", int.class);
}
}
class Test {
public void overloaded(){}
public void overloaded(int n){}
}