void (@NotNull PsiClass candidate) { ProgressManager.checkCanceled(); PsiMethod overridingMethod = candidate.isInheritor(methodContainingClass, true) ? findOverridingMethod(candidate, method, methodContainingClass) : null; if (overridingMethod != null && !consumer.process(overridingMethod)) { success[0] = false; stopWalking(); } else { super.visitClass(candidate); } }