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