boolean (PsiClass clazz, boolean canBePotential) { return clazz.getLanguage() == GroovyLanguage.INSTANCE && //JUnitUtil.isTestClass(clazz) && InheritanceUtil.isInheritor(clazz, GroovyCommonClassNames.GROOVY_UTIL_TEST_CASE); }