code: public static void notNull(@Nullable final Object object,
        final Supplier<String> messageSupplier) {
      if (object == null) {
        throw new IllegalArgumentException(Assert.nullSafeGet(messageSupplier));
      }
    }
docs: Assert that an object is not {@code null}.
  
  <pre class="code">
  Assert.notNull(clazz, () -&gt; "The class '" + clazz.getName() + "' must not be null");
  </pre>
  
  @param object the object to check
  @param messageSupplier a supplier for the exception message to use if the assertion fails
  @throws IllegalArgumentException if the object is {@code null}
  @since 5.0