void (@NotNull PsiClass candidate) { ProgressManager.checkCanceled(); if (!success[0]) return; if (candidate.isInheritor(baseClass, true) && checkCandidate(candidate, parameters) && !consumer.process(candidate)) { success[0] = false; return; } super.visitClass(candidate); }