public static @NotNull List<PopupFactoryImpl.ActionItem> createActionItems(@NotNull ActionGroup actionGroup,
                                                                             @NotNull DataContext dataContext,
                                                                             @NotNull String actionPlace,
                                                                             @NotNull PresentationFactory presentationFactory,
                                                                             @NotNull ActionPopupOptions options) {
    if (!isPopupOrMainMenuPlace(actionPlace)) {
      LOG.error("isPopupOrMainMenuPlace(" + actionPlace + ")==false. Use ActionPlaces.getPopupPlace.");
      actionPlace = getPopupOrMainMenuPlace(actionPlace);
    }
    ActionStepBuilder builder = new ActionStepBuilder(
      dataContext, options.showNumbers, options.useAlphaAsNumbers, options.showDisabledActions, options.honorActionMnemonics,
      actionPlace, presentationFactory);
    builder.buildGroup(actionGroup);
    return builder.getItems();
  }
public static @NotNull List<PopupFactoryImpl.ActionItem> createActionItems(@NotNull ActionGroup actionGroup,
                                                                             @NotNull DataContext dataContext,
                                                                             @NotNull String actionPlace,
                                                                             @NotNull PresentationFactory presentationFactory,
                                                                             @NotNull ActionPopupOptions options)