Uses of Interface com.sun.javadoc.AnnotationTypeDoc (Doclet API )
Date: 2026-03-16

## Uses of Interface
com.sun.javadoc.AnnotationTypeDoc

- - ### Uses of AnnotationTypeDoc in com.sun.javadoc

    Methods in com.sun.javadoc that return AnnotationTypeDoc
    Modifier and Type | Method and Description
    --- | ---
    `AnnotationTypeDoc` | AnnotationDesc.`annotationType()` Returns the annotation type of this annotation.
    `AnnotationTypeDoc[]` | PackageDoc.`annotationTypes()` Get included annotation types in this package.
    `AnnotationTypeDoc` | Type.`asAnnotationTypeDoc()` Return this type as an `AnnotationTypeDoc` if it represents an annotation type.

Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2026, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.