code: public static void notNull(@Nullable Object value, String name) {
          if (value == null) {
              throw new IllegalArgumentException(name + " must not be null!");
          }
      }
docs: Verify that a value is not null.
  
  @param value the value to verify
  @param name the name of the value that will be used in the exception message.