protected @NotNull JBPopup createAndShowActionGroupPopup(@NotNull ActionGroup actionGroup, @NotNull AnActionEvent event) {
    PopupFactoryImpl.ActionGroupPopup popup = new PopupFactoryImpl.ActionGroupPopup(
      null, null, actionGroup, event.getDataContext(),
      ActionPlaces.getActionGroupPopupPlace(event.getPlace()),
      createPresentationFactory(), ActionPopupOptions.showDisabled(), null);
    popup.setShowSubmenuOnHover(true);
    popup.setAlignByParentBounds(false);
    popup.setActiveRoot(getPopupContainer(this) == null);
    if (ActionPlaces.EDITOR_FLOATING_TOOLBAR.equals(event.getPlace())) {
      Editor editor = event.getData(CommonDataKeys.EDITOR);
      CodeFloatingToolbar floatingToolbar = CodeFloatingToolbar.getToolbar(editor);
      if (floatingToolbar != null) {
        floatingToolbar.attachPopupToButton(this, popup);
      }
    }
    popup.showUnderneathOf(this);
    return popup;
  }
protected @NotNull JBPopup createAndShowActionGroupPopup(@NotNull ActionGroup actionGroup, @NotNull AnActionEvent event)