public static @NotNull DocumentationLinkHandler createAndRegister(
    @NotNull DocumentationEditorPane pane,
    @NotNull Disposable parent,
    @NotNull Consumer<? super @NotNull String> urlConsumer
  ) {
    EventListeners.addHyperLinkListener(pane, parent, e -> {
      if (e.getEventType() == HyperlinkEvent.EventType.ACTIVATED) {
        urlConsumer.accept(e.getDescription());
      }
    });
    return new DocumentationLinkHandler(pane, urlConsumer);
  }
public static @NotNull DocumentationLinkHandler createAndRegister(
    @NotNull DocumentationEditorPane pane,
    @NotNull Disposable parent,
    @NotNull Consumer<? super @NotNull String> urlConsumer
  )