boolean (@NotNull PsiElement element) { if (!(element instanceof PsiClass)) return false; PsiClass aClass = (PsiClass)element; return myCanonicalText.equals(aClass.getQualifiedName()) || getManager().areElementsEquivalent(resolve(), element); }