public static void maybeInstall(@NotNull InputMap map, String action, KeyStroke stroke) {
    if (map.get(stroke) == null) {
      map.put(stroke, action);
    }
  }
public static void maybeInstall(@NotNull InputMap map, String action, KeyStroke stroke)