code: public void buildSerializableMethods(XMLNode node, Content classContentTree) throws DocletException {
          Content serializableMethodTree = methodWriter.getSerializableMethodsHeader();
          SortedSet<ExecutableElement> members = utils.serializationMethods(currentTypeElement);
          if (!members.isEmpty()) {
              for (ExecutableElement member : members) {
                  currentMember = member;
                  Content methodsContentTree = methodWriter.getMethodsContentHeader(
                          currentMember == members.last());
                  buildChildren(node, methodsContentTree);
                  serializableMethodTree.addContent(methodsContentTree);
              }
          }
          if (!utils.serializationMethods(currentTypeElement).isEmpty()) {
              classContentTree.addContent(methodWriter.getSerializableMethods(
                      configuration.getText("doclet.Serialized_Form_methods"),
                      serializableMethodTree));
              if (utils.isSerializable(currentTypeElement) && !utils.isExternalizable(currentTypeElement)) {
                  if (utils.serializationMethods(currentTypeElement).isEmpty()) {
                      Content noCustomizationMsg = methodWriter.getNoCustomizationMsg(
                              configuration.getText("doclet.Serializable_no_customization"));
                      classContentTree.addContent(methodWriter.getSerializableMethods(
                      configuration.getText("doclet.Serialized_Form_methods"),
                      noCustomizationMsg));
                  }
              }
          }
      }
docs: Build the summaries for the methods that belong to the given
  class.
  
  @param node the XML element that specifies which components to document
  @param classContentTree content tree to which the documentation will be added
  @throws DocletException if there is a problem while building the documentation