mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
remember completion method statistics per qualifier type (alas, undoing IDEA-87104)
otherwise methods from base classes get preferred over more relevant ones example: Object methods like equals/getClass would be preselected when invoking a completion in a just created class, instead of its own methods
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
public class Usage<T extends Usage<T>> {
|
||||
void foo(T t) {
|
||||
"".<caret>
|
||||
}
|
||||
|
||||
void someMethod() {}
|
||||
|
||||
}
|
||||
-9
@@ -1,9 +0,0 @@
|
||||
import javax.swing.*;
|
||||
|
||||
public class MyFirstTestClassFoo {
|
||||
|
||||
void foo(JComponent c) {
|
||||
c.getCom<caret>x
|
||||
}
|
||||
|
||||
}
|
||||
-9
@@ -1,9 +0,0 @@
|
||||
import javax.swing.*;
|
||||
|
||||
public class MyFirstTestClassFoo {
|
||||
|
||||
void foo(JLabel l) {
|
||||
l.getCompo<caret>x
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user