code: public void addDeprecationInfo(Content div) {
          List<? extends DocTree> deprs = utils.getBlockTags(packageElement, DocTree.Kind.DEPRECATED);
          if (utils.isDeprecated(packageElement)) {
              CommentHelper ch = utils.getCommentHelper(packageElement);
              HtmlTree deprDiv = new HtmlTree(HtmlTag.DIV);
              deprDiv.addStyle(HtmlStyle.deprecatedContent);
              Content deprPhrase = HtmlTree.SPAN(HtmlStyle.deprecatedLabel, getDeprecatedPhrase(packageElement));
              deprDiv.addContent(deprPhrase);
              if (!deprs.isEmpty()) {
                  List<? extends DocTree> commentTags = ch.getDescription(configuration, deprs.get(0));
                  if (!commentTags.isEmpty()) {
                      addInlineDeprecatedComment(packageElement, deprs.get(0), deprDiv);
                  }
              }
              div.addContent(deprDiv);
          }
      }
docs: Add the package deprecation information to the documentation tree.
  
  @param div the content tree to which the deprecation information will be added