Java: Improved completion for arguments of reflection calls getField() and getMethod() - extract the actual type from Class.forName and from generic type parameter to provide the code assistance (IDEA-167250)

This commit is contained in:
Pavel Dolgov
2017-02-02 14:55:52 +03:00
parent d06bc9dccb
commit 8a73604580
25 changed files with 508 additions and 71 deletions
@@ -0,0 +1,15 @@
class Main {
void foo() {
Test.class.getDeclaredField("<caret>");
}
}
class Test extends Parent {
public int num;
int num3;
}
class Parent {
public int num2;
int num4;
}