boolean (@NotNull Project project, @NotNull TestFramework framework) { if (framework instanceof JavaTestFramework) { GlobalSearchScope scope = GlobalSearchScope.allScope(project); String markerClassFQName = ((JavaTestFramework)framework).getMarkerClassFQName(); PsiClass c = JavaPsiFacade.getInstance(project).findClass(markerClassFQName, scope); return c != null; } else { return true; } }