boolean (PsiClass superClass) { String qualifiedName = superClass.getQualifiedName(); if (qualifiedName != null && candidates.contains(qualifiedName)) { if (InheritanceUtil.isInheritorOrSelf(superClass, expectedClass, true)) { myResult = qualifiedName; } return false; } return true; }