@Override
  public Shortcut @NotNull [] getShortcuts() {
    List<Shortcut> result = new ArrayList<>();
    for (ShortcutSet each : sets) {
      Collections.addAll(result, each.getShortcuts());
    }
    return result.toArray(Shortcut.EMPTY_ARRAY);
  }
@Override
  public Shortcut @NotNull [] getShortcuts()