mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
invalidate type lookup element (EA-40081)
This commit is contained in:
+5
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user