public static void put(@NotNull List<? super String> parameters, @Nullable DiffOptions diffOptions) {
    if (diffOptions == null) return;

    List<String> extensions = asList(
      diffOptions.isIgnoreAllWhitespace() ? IGNORE_SPACE_CHANGE_DIFF_EXTENSION : null,
      diffOptions.isIgnoreAmountOfWhitespace() ? IGNORE_ALL_SPACE_DIFF_EXTENSION : null,
      diffOptions.isIgnoreEOLStyle() ? IGNORE_EOL_STYLE_DIFF_EXTENSION : null
    );
    String value = join(extensions, " ");

    if (!StringUtil.isEmpty(value)) {
      put(parameters, "--extensions", value);
    }
  }
public static void put(@NotNull List<? super String> parameters, @Nullable DiffOptions diffOptions)