boolean (final PsiClass aClass) { if (!aClass.isValid()) return false; PsiClass testCaseClass = getTestCaseClassOrNull(aClass); return testCaseClass != null && aClass.isInheritor(testCaseClass, true); }