public static @Nullable PsiMethod findDeepestSuperMethod(@NotNull PsiMethod method) {
    if (!canHaveSuperMethod(method, true, false)) return null;
    return DeepestSuperMethodsSearch.search(method).findFirst();
  }
public static @Nullable PsiMethod findDeepestSuperMethod(@NotNull PsiMethod method)