boolean () { GlobalSearchScope searchScope = ObjectUtils.notNull(myConfig.getSearchScope(), GlobalSearchScope.allScope(myProject)); PsiClass testMarker = JavaPsiFacade.getInstance(myProject).findClass(TestNGUtil.TEST_ANNOTATION_FQN, searchScope); String version = getVersion(testMarker); return version == null || StringUtil.compareVersionNumbers(version, "7.0.0") < 0; }