void (Group group) { if (mySystemShortcuts != null) { @SuppressWarnings("DialogTitleCapitalization") Group macOsSysGroup = new Group(IdeBundle.message("action.group.macos.shortcuts.text"), null, () -> AllIcons.Nodes.KeymapOther); mySystemShortcuts.forEach((ks, id) -> macOsSysGroup.addActionId(id)); group.addGroup(macOsSysGroup); } }