< prev index next >

src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/AnnotationTypeWriterImpl.java

Print this page




 231             Content deprLabel = HtmlTree.SPAN(HtmlStyle.deprecatedLabel, getDeprecatedPhrase(annotationType));
 232             Content div = HtmlTree.DIV(HtmlStyle.deprecationBlock, deprLabel);
 233             if (!deprs.isEmpty()) {
 234 
 235                 List<? extends DocTree> commentTags = ch.getDescription(configuration, deprs.get(0));
 236                 if (!commentTags.isEmpty()) {
 237                     addInlineDeprecatedComment(annotationType, deprs.get(0), div);
 238                 }
 239             }
 240             annotationInfoTree.add(div);
 241         }
 242     }
 243 
 244     /**
 245      * {@inheritDoc}
 246      */
 247     @Override
 248     public TypeElement getAnnotationTypeElement() {
 249         return annotationType;
 250     }









 251 }


 231             Content deprLabel = HtmlTree.SPAN(HtmlStyle.deprecatedLabel, getDeprecatedPhrase(annotationType));
 232             Content div = HtmlTree.DIV(HtmlStyle.deprecationBlock, deprLabel);
 233             if (!deprs.isEmpty()) {
 234 
 235                 List<? extends DocTree> commentTags = ch.getDescription(configuration, deprs.get(0));
 236                 if (!commentTags.isEmpty()) {
 237                     addInlineDeprecatedComment(annotationType, deprs.get(0), div);
 238                 }
 239             }
 240             annotationInfoTree.add(div);
 241         }
 242     }
 243 
 244     /**
 245      * {@inheritDoc}
 246      */
 247     @Override
 248     public TypeElement getAnnotationTypeElement() {
 249         return annotationType;
 250     }
 251 
 252     /**
 253      * {@inheritDoc}
 254      */
 255     @Override
 256     public Content getMemberDetailsTree(Content contentTree) {
 257         return HtmlTree.SECTION(HtmlStyle.details, contentTree)
 258                 .setId(SectionName.ANNOTATION_TYPE_ELEMENT_DETAIL.getName());
 259     }
 260 }
< prev index next >