code: public static <T> T requireNonNull(String name, T value) {
          Objects.requireNonNull(value, "Argument [" + name + "] cannot be null");
          return value;
      }
docs: Adds a check that the given number is positive.
  
  @param name The name of the argument
  @param value The value
  @param <T> The generic type
  @throws IllegalArgumentException if the argument is not positive
  @return The value