public static void requireAndLog(@NotNull Class<?> loggingClass, boolean statement, @NotNull Supplier<Object> lazyMessage) {
    if (!statement) {
      Logger.getInstance(loggingClass).error(new IllegalArgumentException(lazyMessage.get().toString()));
    }
  }
public static void requireAndLog(@NotNull Class<?> loggingClass, boolean statement, @NotNull Supplier<Object> lazyMessage)