void (@NotNull Collection<? extends AnAction> actionList, @NotNull ActionManager actionManager) { if (actionList.isEmpty()) { return; } for (AnAction action : actionList) { addAction(action, Constraints.LAST, actionManager); } }