boolean (PsiClass member) { if (member instanceof PsiTypeParameter) return false; TestFramework framework = TestFrameworks.detectFramework(member); return framework instanceof JavaTestFramework && framework.isTestClass(member) && ((JavaTestFramework)framework).isSuiteClass(member); }