ListPopupStep<ActionItem> (@PopupTitle @Nullable String title, @NotNull ActionGroup actionGroup, @NotNull DataContext dataContext, boolean showNumbers, boolean useAlphaAsNumbers, boolean showDisabledActions, boolean honorActionMnemonics, Condition<? super AnAction> preselectActionCondition, @Nullable String actionPlace, @Nullable PresentationFactory presentationFactory, boolean autoSelection) { DataContext asyncDataContext = Utils.createAsyncDataContext(dataContext); List<ActionItem> items = ActionPopupStep.createActionItems( actionGroup, asyncDataContext, showNumbers, useAlphaAsNumbers, showDisabledActions, honorActionMnemonics, actionPlace, presentationFactory); return new ActionPopupStep(items, title, () -> asyncDataContext, actionPlace, showNumbers || honorActionMnemonics && anyMnemonicsIn(items), preselectActionCondition, autoSelection, showDisabledActions, presentationFactory); }