ActionGroup (@NotNull ActionGroups groups) { DefaultActionGroup group = new DefaultActionGroup(); group.add(ActionManager.getInstance().getAction(groups.getMainToolbarID())); group.add(ActionManager.getInstance().getAction(groups.getPopupID())); return group; }