code: public static <T> T notNull(T object, String description) {
          if (object == null) {
              throw new NullPointerException(description);
          }
          return object;
      }
docs: Throws a NullPointerException if the specified object is null.
  @param object the object to verify
  @param description error message
  @param <T> type of the object to check
  @return the verified object