docs: @SuppressWarnings("null")
    public static <T> @NotNull T notNull(@NotNull Adaptable adaptable, @NotNull Class<T> type) {
      T object = adaptable.adaptTo(type);
      if (object == null) {
        throw new UnableToAdaptException(adaptable, type);
      }
      return object;
    }