code: public void buildMethodDoc(XMLNode node, Content memberDetailsTree) {
          if (writer == null) {
              return;
          }
          int size = methods.size();
          if (size > 0) {
              Content methodDetailsTree = writer.getMethodDetailsTreeHeader(
                      classDoc, memberDetailsTree);
              for (currentMethodIndex = 0; currentMethodIndex < size;
                      currentMethodIndex++) {
                  Content methodDocTree = writer.getMethodDocTreeHeader(
                          (MethodDoc) methods.get(currentMethodIndex),
                          methodDetailsTree);
                  buildChildren(node, methodDocTree);
                  methodDetailsTree.addContent(writer.getMethodDoc(
                          methodDocTree, (currentMethodIndex == size - 1)));
              }
              memberDetailsTree.addContent(
                      writer.getMethodDetails(methodDetailsTree));
          }
      }
docs: Build the method documentation.
  
  @param node the XML element that specifies which components to document
  @param memberDetailsTree the content tree to which the documentation will be added