code: public static <T> T assertNotNull(T value, String name) {
          if (value == null)
              throw new IllegalArgumentException("Null " + name);
  
          return value;
      }
docs: Throws an IllegalArgumentException when the given value is null.
  @param value the value to assert if not null
  @param name the name of the argument
  @param <T> The generic type of the value to assert if not null
  @return the value