code: protected void addIndexComment(Element member, List<? extends DocTree> firstSentenceTags,
              Content tdSummary) {
          List<? extends DocTree> deprs = utils.getBlockTags(member, DocTree.Kind.DEPRECATED);
          Content div;
          if (utils.isDeprecated(member)) {
              Content deprLabel = HtmlTree.SPAN(HtmlStyle.deprecatedLabel, getDeprecatedPhrase(member));
              div = HtmlTree.DIV(HtmlStyle.block, deprLabel);
              div.addContent(Contents.SPACE);
              if (!deprs.isEmpty()) {
                  addInlineDeprecatedComment(member, deprs.get(0), div);
              }
              tdSummary.addContent(div);
              return;
          } else {
              Element te = member.getEnclosingElement();
              if (te != null &&  utils.isTypeElement(te) && utils.isDeprecated(te)) {
                  Content deprLabel = HtmlTree.SPAN(HtmlStyle.deprecatedLabel, getDeprecatedPhrase(te));
                  div = HtmlTree.DIV(HtmlStyle.block, deprLabel);
                  div.addContent(Contents.SPACE);
                  tdSummary.addContent(div);
              }
          }
          addSummaryComment(member, firstSentenceTags, tdSummary);
      }
docs: Add the index comment.
  
  @param member the member being documented
  @param firstSentenceTags the first sentence tags for the member to be documented
  @param tdSummary the content tree to which the comment will be added