code: public void addPackageName(PackageDoc pkg, String parsedPackageName,
              Content summariesTree) {
          Content pkgNameContent;
          if (parsedPackageName.length() == 0) {
              summariesTree.addContent(getMarkerAnchor(
                      SectionName.UNNAMED_PACKAGE_ANCHOR));
              pkgNameContent = defaultPackageLabel;
          } else {
              summariesTree.addContent(getMarkerAnchor(
                      parsedPackageName));
              pkgNameContent = getPackageLabel(parsedPackageName);
          }
          Content headingContent = new StringContent(".*");
          Content heading = HtmlTree.HEADING(HtmlConstants.PACKAGE_HEADING, true,
                  pkgNameContent);
          heading.addContent(headingContent);
          summariesTree.addContent(heading);
      }
docs: {@inheritDoc}