code: public void buildSerializableMethods(XMLNode node, Content classContentTree) {
          Content serializableMethodTree = methodWriter.getSerializableMethodsHeader();
          MemberDoc[] members = currentClass.serializationMethods();
          int membersLength = members.length;
          if (membersLength > 0) {
              for (int i = 0; i < membersLength; i++) {
                  currentMember = members[i];
                  Content methodsContentTree = methodWriter.getMethodsContentHeader(
                          (i == membersLength - 1));
                  buildChildren(node, methodsContentTree);
                  serializableMethodTree.addContent(methodsContentTree);
              }
          }
          if (currentClass.serializationMethods().length > 0) {
              classContentTree.addContent(methodWriter.getSerializableMethods(
                      configuration.getText("doclet.Serialized_Form_methods"),
                      serializableMethodTree));
              if (currentClass.isSerializable() && !currentClass.isExternalizable()) {
                  if (currentClass.serializationMethods().length == 0) {
                      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