void (List<AnAction> actions, Constraints constraints, DefaultActionGroup actionGroup, @Nullable DefaultActionGroup moreGroup) { for (AnAction action : ContainerUtil.reverse(actions)) { if (moreGroup != null && action.getTemplatePresentation().getClientProperty(PREFERRED_PLACE) == PreferredPlace.MORE_GROUP) { moreGroup.add(action); } else { actionGroup.add(action, constraints); } } }