code: public void buildPackageSerializedForm(XMLNode node, Content serializedSummariesTree) {
          Content packageSerializedTree = writer.getPackageSerializedHeader();
          String foo = currentPackage.name();
          ClassDoc[] classes = currentPackage.allClasses(false);
          if (classes == null || classes.length == 0) {
              return;
          }
          if (!serialInclude(currentPackage)) {
              return;
          }
          if (!serialClassFoundToDocument(classes)) {
              return;
          }
          buildChildren(node, packageSerializedTree);
          serializedSummariesTree.addContent(packageSerializedTree);
      }
docs: Build the package serialized form for the current package being processed.
  
  @param node the XML element that specifies which components to document
  @param serializedSummariesTree content tree to which the documentation will be added