public static void reportDeprecatedDefault(@NotNull Class<?> violator, @NotNull String methodName, @NotNull String details) {
    String message = "The default implementation of method `" + methodName + "` is deprecated, " +
                     "`" + violator.getName() + "` must override it. " + details;
    PluginException t = createByClass(message, null, violator);
    // trim stacktrace to avoid multiple reports in logs with the same deprecated method
    t.setStackTrace(ArrayUtil.realloc(t.getStackTrace(), 5, StackTraceElement[]::new));
    Logger.getInstance(violator).error(t);
  }
public static void reportDeprecatedDefault(@NotNull Class<?> violator, @NotNull String methodName, @NotNull String details)