void (int keycode, int modifiers, @NotNull String description) { KeyStroke newStroke = KeyStroke.getKeyStroke(keycode, modifiers); for (KeyStroke keyStroke : myKeyStroke2SysShortcut.keySet()) { if (newStroke.equals(keyStroke)) { return; } } myKeyStroke2SysShortcut.put(newStroke, newStroke); myKeyStrokeCustomDescription.put(newStroke, description); }