boolean (@NotNull PsiMethod method) { PsiAnnotation overrideAnnotation = method.getModifierList().findAnnotation(CommonClassNames.JAVA_LANG_OVERRIDE); return overrideAnnotation != null || getSuper(method) != null; }