code: public static StreamingEscaper create(
        LoggingAdvisingAppendable delegate, CrossLanguageStringXform transform) {
      if (delegate instanceof StreamingEscaper) {
        StreamingEscaper delegateAsStreamingEscaper = (StreamingEscaper) delegate;
        if (delegateAsStreamingEscaper.transform == transform) {
          return delegateAsStreamingEscaper;
        }
      }
      return new StreamingEscaper(delegate, transform);
    }
docs: Creates a streaming escaper, or returns the delegate if it is already escaping with the same
  settings.