code: public void buildDeprecationInfo(XMLNode node, Content methodDocTree) {
          writer.addDeprecated(
                  (MethodDoc) methods.get(currentMethodIndex), methodDocTree);
      }
docs: Build the deprecation information.
  
  @param node the XML element that specifies which components to document
  @param methodDocTree the content tree to which the documentation will be added