private static @Nullable PsiMethod findSuperMethod(@NotNull PsiMethod method) {
    final PsiMethod[] superMethods = method.findSuperMethods();
    if (superMethods.length == 1) {
      return superMethods[0];
    }
    if (ContainerUtil.exists(superMethods, superMethod -> superMethod.hasModifierProperty(PsiModifier.ABSTRACT))) return null;
    return StreamEx.of(superMethods).findFirst(candidate -> isNotInterface(candidate.getContainingClass())).orElse(null);
  }
private static @Nullable PsiMethod findSuperMethod(@NotNull PsiMethod method)