void (@NotNull Keymap keymap, String @NotNull [] actionIds, @NotNull KeyboardShortcut ksc) { if (myNotifyCount > 0 || actionIds.length == 0) { return; } KeyStroke ks = ksc.getFirstKeyStroke(); AWTKeyStroke sysKs = myKeyStroke2SysShortcut.get(ks); if (sysKs == null && ksc.getSecondKeyStroke() != null) { sysKs = myKeyStroke2SysShortcut.get(ks = ksc.getSecondKeyStroke()); } if (sysKs == null) { return; } String unmutedActId = null; for (String actId : actionIds) { if (myNotifiedActions.contains(actId)) { continue; } if (!myMutedConflicts.isMutedAction(actId)) { unmutedActId = actId; break; } } if (unmutedActId == null) { return; } @Nullable String macOsShortcutAction = getDescription(sysKs); if (Strings.areSameInstance(macOsShortcutAction, ourUnknownSysAction)) { macOsShortcutAction = null; } //System.out.println(actionId + " shortcut '" + sysKS + "' " // + Arrays.toString(actionShortcuts) + " conflicts with macOS shortcut" // + (macOsShortcutAction == null ? "." : " '" + macOsShortcutAction + "'.")); doNotify(keymap, unmutedActId, ks, macOsShortcutAction, ksc); }