boolean (final PsiMethod method, boolean includeCustom) { if (isJUnit4TestAnnotated(method)) { return method.hasModifierProperty(PsiModifier.PUBLIC); } return MetaAnnotationUtil.isMetaAnnotated(method, includeCustom ? CUSTOM_TESTABLE_ANNOTATION_LIST : TEST5_JUPITER_ANNOTATIONS); }