src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/builders/AnnotationTypeBuilder.java
changeset 54596 86c1da00dd6a
parent 54060 53a95878619f
child 59294 48b88b9c11eb
equal deleted inserted replaced
54595:a61da18408c1 54596:86c1da00dd6a
    26 package jdk.javadoc.internal.doclets.toolkit.builders;
    26 package jdk.javadoc.internal.doclets.toolkit.builders;
    27 
    27 
    28 import javax.lang.model.element.PackageElement;
    28 import javax.lang.model.element.PackageElement;
    29 import javax.lang.model.element.TypeElement;
    29 import javax.lang.model.element.TypeElement;
    30 
    30 
       
    31 import jdk.javadoc.internal.doclets.formats.html.markup.ContentBuilder;
    31 import jdk.javadoc.internal.doclets.toolkit.AnnotationTypeWriter;
    32 import jdk.javadoc.internal.doclets.toolkit.AnnotationTypeWriter;
    32 import jdk.javadoc.internal.doclets.toolkit.Content;
    33 import jdk.javadoc.internal.doclets.toolkit.Content;
    33 import jdk.javadoc.internal.doclets.toolkit.DocFilesHandler;
    34 import jdk.javadoc.internal.doclets.toolkit.DocFilesHandler;
    34 import jdk.javadoc.internal.doclets.toolkit.DocletException;
    35 import jdk.javadoc.internal.doclets.toolkit.DocletException;
    35 
    36 
   147      * @param annotationContentTree the content tree to which the documentation will be added
   148      * @param annotationContentTree the content tree to which the documentation will be added
   148      * @throws DocletException if there is a problem building the documentation
   149      * @throws DocletException if there is a problem building the documentation
   149      */
   150      */
   150     protected void buildAnnotationTypeInfo(Content annotationContentTree)
   151     protected void buildAnnotationTypeInfo(Content annotationContentTree)
   151             throws DocletException {
   152             throws DocletException {
   152         Content annotationInfoTree = writer.getAnnotationInfoTreeHeader();
   153         Content annotationInfoTree = new ContentBuilder();
   153 
       
   154         buildAnnotationTypeSignature(annotationInfoTree);
   154         buildAnnotationTypeSignature(annotationInfoTree);
   155         buildDeprecationInfo(annotationInfoTree);
   155         buildDeprecationInfo(annotationInfoTree);
   156         buildAnnotationTypeDescription(annotationInfoTree);
   156         buildAnnotationTypeDescription(annotationInfoTree);
   157         buildAnnotationTypeTagInfo(annotationInfoTree);
   157         buildAnnotationTypeTagInfo(annotationInfoTree);
   158 
   158