private @NotNull IdeTooltip createTooltip(@NotNull JComponent component) {
    IdeTooltip tooltip = new TooltipWithClickableLinks(component, getTooltipHtml(), new HyperlinkAdapter() {
      @Override
      protected void hyperlinkActivated(@NotNull HyperlinkEvent e) {
        HelpManager.getInstance().invokeHelp("LightEdit_Mode");
      }
    }) {
      @Override
      public boolean canBeDismissedOnTimeout() {
        return false;
      }

      @Override
      protected boolean beforeShow() {
        return !myPopupState.isShowing();
      }
    };
    tooltip.setToCenter(false);
    tooltip.setToCenterIfSmall(false);
    // Unable to get rid of the tooltip pointer (https://youtrack.jetbrains.com/issue/IDEA-251569).
    // Let's position it between the label and the link.
    tooltip.setPoint(new JBPoint(-3, 11));
    return tooltip;
  }
private @NotNull IdeTooltip createTooltip(@NotNull JComponent component)