@ApiStatus.Internal
  public static @NotNull ActionPopupOptions forAid(@Nullable JBPopupFactory.ActionSelectionAid aid,
                                                   boolean showDisabledActions,
                                                   int maxRowCount,
                                                   @Nullable Condition<? super AnAction> preselectCondition) {
    return new ActionPopupOptions(
      aid == JBPopupFactory.ActionSelectionAid.ALPHA_NUMBERING || aid == JBPopupFactory.ActionSelectionAid.NUMBERING,
      aid == JBPopupFactory.ActionSelectionAid.ALPHA_NUMBERING,
      showDisabledActions,
      aid == JBPopupFactory.ActionSelectionAid.MNEMONICS,
      maxRowCount, false, preselectCondition, -1);
  }
@ApiStatus.Internal
  public static @NotNull ActionPopupOptions forAid(@Nullable JBPopupFactory.ActionSelectionAid aid,
                                                   boolean showDisabledActions,
                                                   int maxRowCount,
                                                   @Nullable Condition<? super AnAction> preselectCondition)