@NotNull
  private static Set<KeyStroke> getShortcuts(@NotNull String actionId) {
    Set<KeyStroke> result = new HashSet<>();
    for (Shortcut shortcut : KeymapUtil.getActiveKeymapShortcuts(actionId).getShortcuts()) {
      if (shortcut instanceof KeyboardShortcut keyboardShortcut) {
        result.add(keyboardShortcut.getFirstKeyStroke());
      }
    }
    return result;
  }
@NotNull
  private static Set<KeyStroke> getShortcuts(@NotNull String actionId)