code: public void writeBindingContext(SourceWriter writer, Context context) {
      // Avoid a trailing \n -- the GWT class source file composer will output an
      // ugly extra newline if we do that.
      String text = context.toString();
      boolean first = true;
      for (String line : text.split("\n")) {
        if (first) {
          first = false;
        } else {
          writer.println();
        }
        // Indent the line relative to its current location.  writer.indent()
        // won't work, since it does the wrong thing in Javadoc.
        writer.print("  ");
        writer.print(line);
      }
    }
docs: Writes out a binding context, followed by a newline.
  
  <p>Binding contexts may contain newlines; this routine translates those for
  the SourceWriter to ensure that indents, Javadoc comments, etc are handled
  properly.