CustomShortcutSet (@NonNls String @NotNull ... keyboardShortcuts) { final KeyboardShortcut[] shortcuts = new KeyboardShortcut[keyboardShortcuts.length]; for (int i = 0; i < keyboardShortcuts.length; i++) { shortcuts[i] = KeyboardShortcut.fromString(keyboardShortcuts[i]); } return new CustomShortcutSet(shortcuts); }