Java: Improved completion for arguments of getField() and getMethod() - extract the type information from forName() and getClass() to provide code assistance (IDEA-167250)

This commit is contained in:
Pavel Dolgov
2017-02-06 15:26:07 +03:00
parent 4a405a6bcd
commit 69b3a8c6cb
16 changed files with 365 additions and 136 deletions

View File

@@ -0,0 +1,16 @@
class Main {
final Parent test = new Test();
void foo() {
test.getClass().getField("<caret>");
}
}
class Test extends Parent {
public int num;
int num2;
}
class Parent {
public int num3;
int num4;
}