code: public void buildClassConstantSummary(XMLNode node, Content summariesTree) {
          ClassDoc[] classes = currentPackage.name().length() > 0 ?
              currentPackage.allClasses() :
              configuration.classDocCatalog.allClasses(
                  DocletConstants.DEFAULT_PACKAGE_NAME);
          Arrays.sort(classes);
          Content classConstantTree = writer.getClassConstantHeader();
          for (ClassDoc doc : classes) {
              if (!classDocsWithConstFields.contains(doc) ||
                  !doc.isIncluded()) {
                  continue;
              }
              currentClass = doc;
              //Build the documentation for the current class.
              buildChildren(node, classConstantTree);
          }
          writer.addClassConstant(summariesTree, classConstantTree);
      }
docs: Build the summary for the current class.
  
  @param node the XML element that specifies which components to document
  @param summariesTree the tree to which the class constant summary will be added