langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/ClassWriterImpl.java
equal
deleted
inserted
replaced
608 public void addClassDeprecationInfo(Content classInfoTree) { |
608 public void addClassDeprecationInfo(Content classInfoTree) { |
609 Content hr = new HtmlTree(HtmlTag.HR); |
609 Content hr = new HtmlTree(HtmlTag.HR); |
610 classInfoTree.addContent(hr); |
610 classInfoTree.addContent(hr); |
611 List<? extends DocTree> deprs = utils.getBlockTags(typeElement, DocTree.Kind.DEPRECATED); |
611 List<? extends DocTree> deprs = utils.getBlockTags(typeElement, DocTree.Kind.DEPRECATED); |
612 if (utils.isDeprecated(typeElement)) { |
612 if (utils.isDeprecated(typeElement)) { |
613 Content deprLabel = HtmlTree.SPAN(HtmlStyle.deprecatedLabel, contents.deprecatedPhrase); |
613 Content deprLabel = HtmlTree.SPAN(HtmlStyle.deprecatedLabel, getDeprecatedPhrase(typeElement)); |
614 Content div = HtmlTree.DIV(HtmlStyle.block, deprLabel); |
614 Content div = HtmlTree.DIV(HtmlStyle.block, deprLabel); |
615 if (!deprs.isEmpty()) { |
615 if (!deprs.isEmpty()) { |
616 CommentHelper ch = utils.getCommentHelper(typeElement); |
616 CommentHelper ch = utils.getCommentHelper(typeElement); |
617 DocTree dt = deprs.get(0); |
617 DocTree dt = deprs.get(0); |
618 List<? extends DocTree> commentTags = ch.getBody(configuration, dt); |
618 List<? extends DocTree> commentTags = ch.getBody(configuration, dt); |