code: public static <T> T nonNull(final T object, final Supplier<String> message) {
          if (object == null) {
              throw new IllegalArgumentException(message.get());
          }
          return object;
      }
docs: Checks that an {@link Object} is not {@code null} and returns the same object or throws an {@link IllegalArgumentException}
  @param object any Object
  @param message the text message that would be passed to the exception thrown when {@code o == null}.
  @return the same object
  @throws IllegalArgumentException if a {@code o == null}