boolean (@NotNull PsiElement element, @NotNull ResolveState state) { if (element instanceof PsiClass && ((PsiClass)element).isInheritor(baseClass, true) && visited.add((PsiClass)element)) { return inheritorsProcessor.process((PsiClass)element); } return true; }