code: public static <T> void notNull(final String name, final T value) {
      if (value == null) {
        throw new IllegalArgumentException(name + " can not be null");
      }
    }
docs: Throw IllegalArgumentException if the value is null.
  
  @param name  the parameter name.
  @param value the value that should not be null.
  @param <T>   the value type.
  @throws IllegalArgumentException if value is null.