void (@NotNull ActionGroup group, @NotNull JComponent component, @Nullable Disposable parentDisposable) { for (AnAction action : group.getChildren(null)) { if (action instanceof ActionGroup) { recursiveRegisterShortcutSet((ActionGroup)action, component, parentDisposable); } action.registerCustomShortcutSet(component, parentDisposable); } }