public static @NotNull ListPopupStep<PopupFactoryImpl.ActionItem> createActionsStep(@PopupTitle @Nullable String title,
                                                                                      @NotNull ActionGroup actionGroup,
                                                                                      @NotNull DataContext dataContext,
                                                                                      @NotNull String actionPlace,
                                                                                      @NotNull PresentationFactory presentationFactory,
                                                                                      @NotNull Supplier<? extends DataContext> contextSupplier,
                                                                                      @NotNull ActionPopupOptions options) {
    List<PopupFactoryImpl.ActionItem> items = createActionItems(
      actionGroup, dataContext, actionPlace, presentationFactory, options);

    ActionPopupOptions stepOptions = ActionPopupOptions.forStep(
      options.showDisabledActions, options.showNumbers || options.honorActionMnemonics && PopupFactoryImpl.anyMnemonicsIn(items),
      options.autoSelection, options.preselectCondition != null ? options.preselectCondition :
                            action -> options.defaultIndex >= 0 &&
                                      options.defaultIndex < items.size() &&
                                      items.get(options.defaultIndex).getAction().equals(action));
    return new ActionPopupStep(items, title, contextSupplier, actionPlace, presentationFactory, stepOptions);
  }
public static @NotNull ListPopupStep<PopupFactoryImpl.ActionItem> createActionsStep(@PopupTitle @Nullable String title,
                                                                                      @NotNull ActionGroup actionGroup,
                                                                                      @NotNull DataContext dataContext,
                                                                                      @NotNull String actionPlace,
                                                                                      @NotNull PresentationFactory presentationFactory,
                                                                                      @NotNull Supplier<? extends DataContext> contextSupplier,
                                                                                      @NotNull ActionPopupOptions options)