## Uses of Interface
com.sun.mirror.declaration.AnnotationTypeDeclaration

- Packages that use AnnotationTypeDeclaration
  Package | Description
  --- | ---
  com.sun.mirror.apt | Classes used to communicate information between annotation processors and an annotation processing tool.
  com.sun.mirror.declaration | Interfaces used to model program element declarations.
  com.sun.mirror.type | Interfaces used to model types.
  com.sun.mirror.util | Utilities to assist in the processing of declarations and types.

- - ### Uses of AnnotationTypeDeclaration in com.sun.mirror.apt

    Methods in com.sun.mirror.apt with parameters of type AnnotationTypeDeclaration
    Modifier and Type | Method and Description
    --- | ---
    `Collection<Declaration>` | AnnotationProcessorEnvironment.`getDeclarationsAnnotatedWith(AnnotationTypeDeclaration a)` Deprecated. Returns the declarations annotated with the given annotation type.

    Method parameters in com.sun.mirror.apt with type arguments of type AnnotationTypeDeclaration
    Modifier and Type | Method and Description
    --- | ---
    `AnnotationProcessor` | AnnotationProcessorFactory.`getProcessorFor(Set<AnnotationTypeDeclaration> atds, AnnotationProcessorEnvironment env)` Deprecated. Returns an annotation processor for a set of annotation types.

  - ### Uses of AnnotationTypeDeclaration in com.sun.mirror.declaration

    Methods in com.sun.mirror.declaration that return AnnotationTypeDeclaration
    Modifier and Type | Method and Description
    --- | ---
    `AnnotationTypeDeclaration` | AnnotationTypeElementDeclaration.`getDeclaringType()` Deprecated. Returns the type declaration within which this member or constructor is declared.

    Methods in com.sun.mirror.declaration that return types with arguments of type AnnotationTypeDeclaration
    Modifier and Type | Method and Description
    --- | ---
    `Collection<AnnotationTypeDeclaration>` | PackageDeclaration.`getAnnotationTypes()` Deprecated. Returns the declarations of the top-level annotation types in this package.

  - ### Uses of AnnotationTypeDeclaration in com.sun.mirror.type

    Methods in com.sun.mirror.type that return AnnotationTypeDeclaration
    Modifier and Type | Method and Description
    --- | ---
    `AnnotationTypeDeclaration` | AnnotationType.`getDeclaration()` Deprecated. Returns the declaration of this type.

  - ### Uses of AnnotationTypeDeclaration in com.sun.mirror.util

    Methods in com.sun.mirror.util with parameters of type AnnotationTypeDeclaration
    Modifier and Type | Method and Description
    --- | ---
    `void` | SimpleDeclarationVisitor.`visitAnnotationTypeDeclaration(AnnotationTypeDeclaration d)` Deprecated. Visits an annotation type declaration.
    `void` | DeclarationVisitor.`visitAnnotationTypeDeclaration(AnnotationTypeDeclaration d)` Deprecated. Visits an annotation type declaration.

Copyright © 2004, 2017, Oracle and/or its affiliates. All rights reserved.