static @NotNull List<HintAction> extractHints(@NotNull HighlightInfo info) {
    List<HintAction> result = new ArrayList<>();
    info.findRegisteredQuickFix((descriptor, range) -> {
      ProgressManager.checkCanceled();
      IntentionAction action = descriptor.getAction();
      if (action instanceof HintAction hint) {
        result.add(hint);
      }
      return null;
    });
    return result;
  }
static @NotNull List<HintAction> extractHints(@NotNull HighlightInfo info)