Module jdk.javadoc

Interface AnnotationTypeDoc

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

    @Deprecated
    public interface AnnotationTypeDoc
    extends ClassDoc
    Deprecated.
    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.
        Returns the elements of this annotation type. Returns an empty array if there are none.
        Returns:
        the elements of this annotation type.