code: public JsCodeBuilder append(JsDoc jsDoc) {
      jsDoc.collectRequires(requireCollector);
      return appendLine(jsDoc.toString());
    }
docs: Serializes the given {@link JsDoc} into the code builder, respecting the code builder's current
  indentation level.