code: public static <T> T notNull(T object, String message) {
  		if (object == null) {
  			throw new NullPointerException(message);
  		}
  		return object;
  	}
docs: Check that a given object is not null.
  If object is null, a {@link java.lang.NullPointerException} is thrown
  with given message.
  If object is not null, it is automatically returns.
  
  @param object  Object to check.
  @param message Exception message.
  @param <T>     Object Generic Type.
  @return Non null object.
  @throws java.lang.NullPointerException if object is null.