void (@NotNull Class<?> violator, @NotNull String methodName, @NotNull String details) { String message = "The default implementation of method '" + methodName + "' is deprecated, " + "you need to override it in '" + violator + "'. " + details; Logger.getInstance(violator).error(createByClass(message, null, violator)); }