code: public String getPackageAnchorName(PackageElement packageElement) {
          return packageElement == null || packageElement.isUnnamed()
                  ? SectionName.UNNAMED_PACKAGE_ANCHOR.getName()
                  : utils.getPackageName(packageElement);
      }
docs: Given a package, return the name to be used in HTML anchor tag.
  @param packageElement the package.
  @return the name to be used in HTML anchor tag.