public static @NotNull String quoteValue(@NotNull String value, @Nullable Character quoteStyle) {
    if (quoteStyle != null) {
      if (quoteStyle == '\'') {
        return quoteStyle + StringUtil.replace(value, "'", "&apos;") + quoteStyle;
      }
      else if (quoteStyle == '"') {
        return quoteStyle + StringUtil.replace(value, "\"", "&quot;") + quoteStyle;
      }
    }
    return quoteValue(value);
  }
public static @NotNull String quoteValue(@NotNull String value, @Nullable Character quoteStyle)