code: public static <T> T assertNull(T value, String message) {
          if (value != null)
              throw new IllegalStateException(message);
          return value;
      }
docs: Throws an IllegalStateException when the given value is not null.
  @return the value