Module jdk.javadoc

Interface AnnotationTypeDoc

  • All Superinterfaces:
    ClassDoc, Comparable<Object>, Doc, ProgramElementDoc, Type

    @Deprecated(since="9",
                forRemoval=true)
    public interface AnnotationTypeDoc
    extends ClassDoc
    Deprecated, for removal: This API element is subject to removal in a future version.
    The declarations in this package have been superseded by those in the package jdk.javadoc.doclet. For more information, see the Migration Guide in the documentation for that package.
    Represents an annotation type.
    Since:
    1.5
    • Method Detail

      • elements

        AnnotationTypeElementDoc[] elements()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Returns the elements of this annotation type. Returns an empty array if there are none.
        Returns:
        the elements of this annotation type.