private void showPopupFromVisibleToolbar(@NotNull CodeFloatingToolbar toolbar) {
    Component component = toolbar.getHintComponent();
    if (component == null) return;
    RelativePoint defaultPosition = new AnchoredPoint(AnchoredPoint.Anchor.BOTTOM, component);
    List<ActionButton> buttons = UIUtil.findComponentsOfType(toolbar.getHintComponent(), ActionButton.class);
    ActionButton intentionsButton = ContainerUtil.find(buttons, b -> b.getAction() instanceof ShowIntentionActionsAction);
    if (intentionsButton == null) return;
    showPopup(defaultPosition, popup -> {
      toolbar.attachPopupToButton(intentionsButton, popup);
    });
  }
private void showPopupFromVisibleToolbar(@NotNull CodeFloatingToolbar toolbar)