code: protected void addIndexComment(Doc member, Tag[] firstSentenceTags,
              Content tdSummary) {
          Tag[] deprs = member.tags("deprecated");
          Content div;
          if (utils.isDeprecated((ProgramElementDoc) member)) {
              Content deprLabel = HtmlTree.SPAN(HtmlStyle.deprecatedLabel, deprecatedPhrase);
              div = HtmlTree.DIV(HtmlStyle.block, deprLabel);
              div.addContent(getSpace());
              if (deprs.length > 0) {
                  addInlineDeprecatedComment(member, deprs[0], div);
              }
              tdSummary.addContent(div);
              return;
          } else {
              ClassDoc cd = ((ProgramElementDoc)member).containingClass();
              if (cd != null && utils.isDeprecated(cd)) {
                  Content deprLabel = HtmlTree.SPAN(HtmlStyle.deprecatedLabel, deprecatedPhrase);
                  div = HtmlTree.DIV(HtmlStyle.block, deprLabel);
                  div.addContent(getSpace());
                  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