code: public static void notNull(final Object object, final String objectName) {
          if (object == null) {
              throw new IllegalArgumentException("expecting non-null value for " + maskNullArgument(objectName));
          }
      }
docs: Throw a null pointer exception if object is null
  @param object the object to test
  @param objectName the name of the object
  @throws IllegalArgumentException if the passed object is null