code: protected void addProfilePackagesList(Profiles profiles, String text,
              String tableSummary, Content body, String profileName) {
          Content profNameContent = new StringContent(profileName);
          Content heading = HtmlTree.HEADING(HtmlConstants.PACKAGE_HEADING, true,
                  getTargetProfileLink("classFrame", profNameContent, profileName));
          heading.addContent(getSpace());
          heading.addContent(packagesLabel);
          Content div = HtmlTree.DIV(HtmlStyle.indexContainer, heading);
          HtmlTree ul = new HtmlTree(HtmlTag.UL);
          ul.setTitle(packagesLabel);
          PackageDoc[] packages = configuration.profilePackages.get(profileName);
          for (int i = 0; i < packages.length; i++) {
              if ((!(configuration.nodeprecated && Util.isDeprecated(packages[i])))) {
                  ul.addContent(getPackage(packages[i], profileName));
              }
          }
          div.addContent(ul);
          body.addContent(div);
      }
docs: {@inheritDoc}