boolean (PsiClass clazz, boolean canBePotential) { if (canBePotential) return isUnderTestSources(clazz); if (!isFrameworkAvailable(clazz)) return false; return JUnitUtil.isJUnit4TestClass(clazz, false); }