invalidate type lookup element (EA-40081)

This commit is contained in:
peter
2012-10-22 16:29:55 +02:00
parent e292871016
commit de9bc374ff
@@ -60,6 +60,11 @@ public class PsiTypeCanonicalLookupElement extends LookupElement {
return PsiUtil.resolveClassInType(myType);
}
@Override
public boolean isValid() {
return myType.isValid() && super.isValid();
}
public PsiType getPsiType() {
return myType;
}