void (@NotNull AnActionEvent e) { final AnAction[] actions = getChildren(e); if (actions.length > 1) { final DefaultActionGroup group = new DefaultActionGroup(); for (final AnAction action : actions) { group.add(action); } final DataContext dataContext = e.getDataContext(); final ListPopup groupPopup = JBPopupFactory.getInstance().createActionGroupPopup(null, group, dataContext, JBPopupFactory.ActionSelectionAid.NUMBERING, true); showPopup(groupPopup, e); } else if (actions.length == 1) { actions[0].actionPerformed(e); } }