boolean (PsiClass inheritor) { if (inheritor.equals(class2) || inheritor.isInheritor(class2, true)) { result = ThreeState.YES; return false; } if (avoidExpensiveProcessing && count.incrementAndGet() > 20) { result = ThreeState.UNSURE; return false; } return true; }