public static @NotNull String quoteValue(@NotNull String value) {
    final char quoteChar;
    if (!value.contains("\"")) {
      quoteChar = '"';
    }
    else if (!value.contains("'")) {
      quoteChar = '\'';
    }
    else {
      quoteChar = '"';
      value = StringUtil.replace(value, "\"", "&quot;");
    }
    return quoteChar + value + quoteChar;
  }
public static @NotNull String quoteValue(@NotNull String value)