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:
peter
2017-01-17 09:24:44 +01:00
parent f85b52691f
commit 9ccfc30d74
5 changed files with 21 additions and 50 deletions
@@ -0,0 +1,8 @@
public class Usage<T extends Usage<T>> {
void foo(T t) {
"".<caret>
}
void someMethod() {}
}
@@ -1,9 +0,0 @@
import javax.swing.*;
public class MyFirstTestClassFoo {
void foo(JComponent c) {
c.getCom<caret>x
}
}
@@ -1,9 +0,0 @@
import javax.swing.*;
public class MyFirstTestClassFoo {
void foo(JLabel l) {
l.getCompo<caret>x
}
}