boolean (PsiClass aClass) { if (aClass.hasModifierProperty(PsiModifier.ABSTRACT)) { TestFramework framework = TestFrameworks.detectFramework(aClass); return framework != null && framework.isTestClass(aClass); } return false; }