void (@NotNull ActionGroup group, @NotNull Set<? super String> result) { for (AnAction action : group.getChildren(null)) { if (action instanceof ActionGroup child) { ContainerUtil.addIfNotNull(result, getActionId(child)); recursiveCollectGroupIds(child, result); } } }