boolean () { if (myNeedDfa) return true; if (myDeclared || mySpecificType == null) return false; PsiType type = myPlace.getType(); PsiType rawType = type instanceof PsiClassType ? ((PsiClassType)type).rawType() : type; return !mySpecificType.equals(rawType); }