boolean (@NotNull PsiClass psiClass) { int abstractCount = 0; for (PsiMethod method : psiClass.getMethods()) { if (isDefinitelyAbstractInterfaceMethod(method) && ++abstractCount > 1) { return true; } } return false; }