prefix matching is more important than element kind and statistics

This commit is contained in:
peter
2012-10-25 21:19:36 +02:00
parent 2499fc6f0b
commit 9404e50337
9 changed files with 88 additions and 60 deletions
@@ -0,0 +1,10 @@
class PsiElement {}
public class Foo {
Object psiElement() {}
void foo() {
Psi<caret>
}
}
@@ -1,22 +1,14 @@
class T {
I myLastI;
I getLastI() { return myLastI; }
I lastI;
I getLastI() { return lastI; }
void setLastI(I a) {
myLastI = <caret>
lastI = <caret>
}
}
class I {
static final I _1 = new I();
static final I _2a = new I();
static final I _3a = new I();
static final I _4a = new I();
static final I _5a = new I();
static final I _6a = new I();
static final I _7a = new I();
static final I _8a = new I();
static final I _9a = new I();
static I valueOf(String sth) {
return null;