code: @Override
      public Content getPackageHeader(String heading) {
          HtmlTree bodyTree = getBody(true, getWindowTitle(utils.getPackageName(packageElement)));
          HtmlTree htmlTree = (configuration.allowTag(HtmlTag.HEADER))
                  ? HtmlTree.HEADER()
                  : bodyTree;
          addTop(htmlTree);
          addNavLinks(true, htmlTree);
          if (configuration.allowTag(HtmlTag.HEADER)) {
              bodyTree.addContent(htmlTree);
          }
          HtmlTree div = new HtmlTree(HtmlTag.DIV);
          div.addStyle(HtmlStyle.header);
          if (configuration.showModules) {
              ModuleElement mdle = configuration.docEnv.getElementUtils().getModuleOf(packageElement);
              Content classModuleLabel = HtmlTree.SPAN(HtmlStyle.moduleLabelInPackage, contents.moduleLabel);
              Content moduleNameDiv = HtmlTree.DIV(HtmlStyle.subTitle, classModuleLabel);
              moduleNameDiv.addContent(Contents.SPACE);
              moduleNameDiv.addContent(getModuleLink(mdle,
                      new StringContent(mdle.getQualifiedName().toString())));
              div.addContent(moduleNameDiv);
          }
          Content annotationContent = new HtmlTree(HtmlTag.P);
          addAnnotationInfo(packageElement, annotationContent);
          div.addContent(annotationContent);
          Content tHeading = HtmlTree.HEADING(HtmlConstants.TITLE_HEADING, true,
                  HtmlStyle.title, contents.packageLabel);
          tHeading.addContent(Contents.SPACE);
          Content packageHead = new StringContent(heading);
          tHeading.addContent(packageHead);
          div.addContent(tHeading);
          if (configuration.allowTag(HtmlTag.MAIN)) {
              mainTree.addContent(div);
          } else {
              bodyTree.addContent(div);
          }
          return bodyTree;
      }
docs: {@inheritDoc}