code: public Content deprecatedTagOutput(Element element) {
          ContentBuilder result = new ContentBuilder();
          CommentHelper ch = utils.getCommentHelper(element);
          List<? extends DocTree> deprs = utils.getBlockTags(element, DocTree.Kind.DEPRECATED);
          if (utils.isTypeElement(element)) {
              if (utils.isDeprecated(element)) {
                  result.addContent(HtmlTree.SPAN(HtmlStyle.deprecatedLabel,
                          htmlWriter.getDeprecatedPhrase(element)));
                  result.addContent(RawHtml.nbsp);
                  if (!deprs.isEmpty()) {
                      List<? extends DocTree> commentTags = ch.getDescription(configuration, deprs.get(0));
                      if (!commentTags.isEmpty()) {
                          result.addContent(commentTagsToOutput(null, element, commentTags, false));
                      }
                  }
              }
          } else {
              if (utils.isDeprecated(element)) {
                  result.addContent(HtmlTree.SPAN(HtmlStyle.deprecatedLabel,
                          htmlWriter.getDeprecatedPhrase(element)));
                  result.addContent(RawHtml.nbsp);
                  if (!deprs.isEmpty()) {
                      List<? extends DocTree> bodyTags = ch.getBody(configuration, deprs.get(0));
                      Content body = commentTagsToOutput(null, element, bodyTags, false);
                      if (!body.isEmpty())
                          result.addContent(HtmlTree.SPAN(HtmlStyle.deprecationComment, body));
                  }
              } else {
                  Element ee = utils.getEnclosingTypeElement(element);
                  if (utils.isDeprecated(ee)) {
                      result.addContent(HtmlTree.SPAN(HtmlStyle.deprecatedLabel,
                          htmlWriter.getDeprecatedPhrase(ee)));
                      result.addContent(RawHtml.nbsp);
                  }
              }
          }
          return result;
      }
docs: {@inheritDoc}