docs: public static int requireNonNegative(int i, String message) {
      Objects.requireNonNull(message, "message must not be null");
  
      if (i < 0) {
        throw new IllegalArgumentException(message);
      }
  
      return i;
    }