boolean (PsiElement element) { if (element instanceof PsiMethod method) { final PsiMethod ignoredTestMethod = AnnotationUtil.isAnnotated(method, "org.junit.jupiter.api.Disabled", 0) ? JUnitUtil.getTestMethod(element) : null; return ignoredTestMethod != null; } return false; }