Group (Condition<? super AnAction> filtered) { ActionManagerEx actionManager = ActionManagerEx.getInstanceEx(); List<String> ids = actionManager.getActionIdList(WRAPPER_PREFIX); ids.sort(null); Group group = new Group(KeyMapBundle.message("intentions.group.title"), IdeActions.GROUP_INTENTIONS, (Supplier<? extends Icon>)null); for (String id : ids) { if (filtered == null || filtered.value(actionManager.getActionOrStub(id))) { group.addActionId(id); } } return group; }