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