@Nullable
  JBPopup show(JComponent component, @Nullable EditorMouseEvent editorMouseEvent) {
    BorderLayoutPanel content = JBUI.Panels.simplePanel();
    Color bgColor = HintUtil.getInformationColor();
    content.setBackground(bgColor);

    if (editorMouseEvent != null) {
      content.setBorder(JBUI.Borders.empty(10, 10, 10, 6));
      component.setBorder(JBUI.Borders.emptyRight(20));

      DefaultActionGroup actions = new DefaultActionGroup();
      ShowErrorsAction action = new ShowErrorsAction(editorMouseEvent);
      action.registerCustomShortcutSet(action.getShortcutSet(), content);
      actions.add(action);

      var toolbar = new ActionToolbarImpl("XDebuggerTooltip", actions, true);
      toolbar.setBorder(JBUI.Borders.emptyLeft(2));
      toolbar.setBackground(bgColor);
      toolbar.setReservePlaceAutoPopupIcon(false);
      toolbar.setTargetComponent(null);

      JSeparator separator = new JSeparator(SwingConstants.VERTICAL);
      separator.setBackground(bgColor);
      separator.setOpaque(true);

      content.addToRight(JBUI.Panels.simplePanel(toolbar).addToLeft(separator));
    }
    else {
      content.setBorder(JBUI.Borders.empty(10));
    }

    content.addToCenter(component);

    myPopup = JBPopupFactory.getInstance().createComponentPopupBuilder(content, component)
      .setRequestFocus(false)
      .setFocusable(false)
      .setModalContext(false)
      .setCancelOnOtherWindowOpen(true)
      .createPopup();

    //Editor may be disposed before later invokator process this action
    if (myEditor.isDisposed()) {
      myPopup.cancel();
      return null;
    }
    myPopup.show(new RelativePoint(myEditor.getContentComponent(), myPoint));
    hideAndDisableFloatingToolbar(myEditor, myPopup);
    return myPopup;
  }
@Nullable
  JBPopup show(JComponent component, @Nullable EditorMouseEvent editorMouseEvent)