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:40:31 +03:00
parent 4a405a6bcd
commit 69b3a8c6cb
16 changed files with 365 additions and 136 deletions
@@ -0,0 +1,10 @@
class Main {
void foo() throws NoSuchMethodException {
clazz().getMethod("<caret>");
}
private Class<? extends Test> clazz() {return Test.class;}
}
class Test {
public void method(){}
}