code: public void addPackageDeprecationInfo(Content li, PackageDoc pkg) {
          Tag[] deprs;
          if (Util.isDeprecated(pkg)) {
              deprs = pkg.tags("deprecated");
              HtmlTree deprDiv = new HtmlTree(HtmlTag.DIV);
              deprDiv.addStyle(HtmlStyle.deprecatedContent);
              Content deprPhrase = HtmlTree.SPAN(HtmlStyle.deprecatedLabel, deprecatedPhrase);
              deprDiv.addContent(deprPhrase);
              if (deprs.length > 0) {
                  Tag[] commentTags = deprs[0].inlineTags();
                  if (commentTags.length > 0) {
                      addInlineDeprecatedComment(pkg, deprs[0], deprDiv);
                  }
              }
              li.addContent(deprDiv);
          }
      }
docs: Add the profile package deprecation information to the documentation tree.
  
  @param li the content tree to which the deprecation information will be added
  @param pkg the PackageDoc that is added