code: public void buildFieldDoc(XMLNode node, Content memberDetailsTree) {
          if (writer == null) {
              return;
          }
          int size = fields.size();
          if (size > 0) {
              Content fieldDetailsTree = writer.getFieldDetailsTreeHeader(
                      classDoc, memberDetailsTree);
              for (currentFieldIndex = 0; currentFieldIndex < size;
                      currentFieldIndex++) {
                  Content fieldDocTree = writer.getFieldDocTreeHeader(
                          (FieldDoc) fields.get(currentFieldIndex),
                          fieldDetailsTree);
                  buildChildren(node, fieldDocTree);
                  fieldDetailsTree.addContent(writer.getFieldDoc(
                          fieldDocTree, (currentFieldIndex == size - 1)));
              }
              memberDetailsTree.addContent(
                      writer.getFieldDetails(fieldDetailsTree));
          }
      }
docs: Build the field documentation.
  
  @param node the XML element that specifies which components to document
  @param memberDetailsTree the content tree to which the documentation will be added