private static boolean isNonStaticMethod(@Nullable PsiMethod method) {
    return isRegularMethod(method) && !method.hasModifierProperty(PsiModifier.STATIC);
  }
private static boolean isNonStaticMethod(@Nullable PsiMethod method)