void (Predicate<? super AnAction> filtered, final DefaultActionGroup editorGroup, final ArrayList<? super String> ids) { AnAction[] editorActions = editorGroup.getChildActionsOrStubs(); final ActionManager actionManager = ActionManager.getInstance(); for (AnAction editorAction : editorActions) { if (editorAction instanceof DefaultActionGroup) { addEditorActions(filtered, (DefaultActionGroup)editorAction, ids); } else { String actionId = actionManager.getId(editorAction); if (actionId == null) { continue; } if (filtered == null || filtered.test(editorAction)) { ids.add(actionId); } } } }