mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
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:
@@ -0,0 +1,16 @@
|
||||
class Main {
|
||||
void foo() {
|
||||
Class<?> d = d();
|
||||
d = d();
|
||||
int i = 0;
|
||||
(d).getDeclaredMethod("<caret>");
|
||||
}
|
||||
Class<Test> d() {
|
||||
return Test.class;
|
||||
}
|
||||
}
|
||||
|
||||
class Test {
|
||||
public int method() {}
|
||||
int method2(int n) {}
|
||||
}
|
||||
Reference in New Issue
Block a user