code: public void buildEnumSummary(XMLNode node, Content summaryContentTree) {
          String enumTableSummary =
                  configuration.getText("doclet.Member_Table_Summary",
                  configuration.getText("doclet.Enum_Summary"),
                  configuration.getText("doclet.enums"));
          String[] enumTableHeader = new String[] {
              configuration.getText("doclet.Enum"),
              configuration.getText("doclet.Description")
          };
          ClassDoc[] enums =
                  packageDoc.isIncluded()
                          ? packageDoc.enums()
                          : configuration.classDocCatalog.enums(
                                  utils.getPackageName(packageDoc));
          enums = utils.filterOutPrivateClasses(enums, configuration.javafx);
          if (enums.length > 0) {
              packageWriter.addClassesSummary(
                      enums,
                      configuration.getText("doclet.Enum_Summary"),
                      enumTableSummary, enumTableHeader, summaryContentTree);
          }
      }
docs: Build the summary for the enums in this package.
  
  @param node the XML element that specifies which components to document
  @param summaryContentTree the summary tree to which the enum summary will
  be added