@Contract(value = "null,_->null; !null,_->!null", pure = true)
  public static String escapeString(@Nullable String str, final boolean escapeWhiteSpace) {
    return escapeString(str, escapeWhiteSpace, true);
  }
@Contract(value = "null,_->null; !null,_->!null", pure = true)
  public static String escapeString(@Nullable String str, final boolean escapeWhiteSpace)