code: public void addLinkToPackageContent(PackageElement pkg,
              Set<PackageElement> printedPackageHeaders, Content contentListTree) {
          //add link to summary
          Content link;
          if (pkg.isUnnamed()) {
              link = getHyperLink(getDocLink(
                      SectionName.UNNAMED_PACKAGE_ANCHOR),
                      contents.defaultPackageLabel, "", "");
          } else {
              String parsedPackageName = utils.parsePackageName(pkg);
              Content packageNameContent = getPackageLabel(parsedPackageName);
              packageNameContent.addContent(".*");
              link = getHyperLink(DocLink.fragment(parsedPackageName),
                      packageNameContent, "", "");
              PackageElement abbrevPkg = configuration.workArounds.getAbbreviatedPackageElement(pkg);
              printedPackageHeaders.add(abbrevPkg);
          }
          contentListTree.addContent(HtmlTree.LI(link));
      }
docs: {@inheritDoc}