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

- Packages that use TypeDeclaration
  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 TypeDeclaration in com.sun.mirror.apt

    Methods in com.sun.mirror.apt that return TypeDeclaration
    Modifier and Type | Method and Description
    --- | ---
    `TypeDeclaration` | AnnotationProcessorEnvironment.`getTypeDeclaration(String name)` Deprecated. Returns the declaration of a type given its fully qualified name.

    Methods in com.sun.mirror.apt that return types with arguments of type TypeDeclaration
    Modifier and Type | Method and Description
    --- | ---
    `Collection<TypeDeclaration>` | AnnotationProcessorEnvironment.`getSpecifiedTypeDeclarations()` Deprecated. Returns the declarations of the types specified when the annotation processing tool was invoked.
    `Collection<TypeDeclaration>` | AnnotationProcessorEnvironment.`getTypeDeclarations()` Deprecated. A convenience method that returns the declarations of the types included in this invocation of the annotation processing tool.

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

    Subinterfaces of TypeDeclaration in com.sun.mirror.declaration
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `AnnotationTypeDeclaration` Deprecated. All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is included in `TypeElement`.
    `interface` | `ClassDeclaration` Deprecated. All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is included in `TypeElement`.
    `interface` | `EnumDeclaration` Deprecated. All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is included in `TypeElement`.
    `interface` | `InterfaceDeclaration` Deprecated. All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is included in `TypeElement`.

    Methods in com.sun.mirror.declaration that return TypeDeclaration
    Modifier and Type | Method and Description
    --- | ---
    `TypeDeclaration` | MemberDeclaration.`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 TypeDeclaration
    Modifier and Type | Method and Description
    --- | ---
    `Collection<TypeDeclaration>` | TypeDeclaration.`getNestedTypes()` Deprecated. Returns the declarations of the nested classes and interfaces that are directly declared by this class or interface.

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

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

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

    Methods in com.sun.mirror.util with parameters of type TypeDeclaration
    Modifier and Type | Method and Description
    --- | ---
    `DeclaredType` | Types.`getDeclaredType(DeclaredType containing, TypeDeclaration decl, TypeMirror... typeArgs)` Deprecated. Returns the type corresponding to a type declaration and actual arguments, given a containing type of which it is a member.
    `DeclaredType` | Types.`getDeclaredType(TypeDeclaration decl, TypeMirror... typeArgs)` Deprecated. Returns the type corresponding to a type declaration and actual type arguments.
    `void` | SimpleDeclarationVisitor.`visitTypeDeclaration(TypeDeclaration d)` Deprecated. Visits a type declaration.
    `void` | DeclarationVisitor.`visitTypeDeclaration(TypeDeclaration d)` Deprecated. Visits a type declaration.

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