# Deprecated API

## Contents

- Deprecated Interfaces
- Deprecated Classes
- Deprecated Enums
- Deprecated Exceptions

- Deprecated Interfaces
  Interface and Description
  com.sun.mirror.declaration.AnnotationMirror All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is `AnnotationMirror`.
  com.sun.mirror.apt.AnnotationProcessor All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is `Processor`.
  com.sun.mirror.apt.AnnotationProcessorEnvironment All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is `ProcessingEnvironment`.
  com.sun.mirror.apt.AnnotationProcessorFactory All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is `Processor`.
  com.sun.mirror.apt.AnnotationProcessorListener All components of this API have been superseded by the standardized annotation processing API. This interface has no direct analog in the standardized API because the different round model renders it unnecessary.
  com.sun.mirror.type.AnnotationType 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 `DeclaredType`.
  com.sun.mirror.declaration.AnnotationTypeDeclaration 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`.
  com.sun.mirror.declaration.AnnotationTypeElementDeclaration 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 `ExecutableElement`.
  com.sun.mirror.declaration.AnnotationValue All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is `AnnotationValue`.
  com.sun.mirror.type.ArrayType All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is `ArrayType`.
  com.sun.mirror.declaration.ClassDeclaration 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`.
  com.sun.mirror.type.ClassType 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 `DeclaredType`.
  com.sun.mirror.declaration.ConstructorDeclaration 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 `ExecutableElement`.
  com.sun.mirror.declaration.Declaration All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is `Element`.
  com.sun.mirror.util.Declarations All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is `Elements`.
  com.sun.mirror.util.DeclarationVisitor All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is `ElementVisitor`.
  com.sun.mirror.type.DeclaredType 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 `DeclaredType`.
  com.sun.mirror.declaration.EnumConstantDeclaration 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 `VariableElement`.
  com.sun.mirror.declaration.EnumDeclaration 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`.
  com.sun.mirror.type.EnumType 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 `DeclaredType`.
  com.sun.mirror.declaration.ExecutableDeclaration All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is `ExecutableElement`.
  com.sun.mirror.declaration.FieldDeclaration 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 `VariableElement`.
  com.sun.mirror.apt.Filer All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is `Filer`.
  com.sun.mirror.declaration.InterfaceDeclaration 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`.
  com.sun.mirror.type.InterfaceType 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 `DeclaredType`.
  com.sun.mirror.declaration.MemberDeclaration All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is `Element`.
  com.sun.mirror.apt.Messager All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is `Messager`.
  com.sun.mirror.declaration.MethodDeclaration 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 `ExecutableElement`.
  com.sun.mirror.declaration.PackageDeclaration All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is `PackageElement`.
  com.sun.mirror.declaration.ParameterDeclaration 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 `VariableElement`.
  com.sun.mirror.type.PrimitiveType All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is `PrimitiveType`.
  com.sun.mirror.type.ReferenceType All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is `ReferenceType`.
  com.sun.mirror.apt.RoundCompleteListener All components of this API have been superseded by the standardized annotation processing API. This interface has no direct analog in the standardized API because the different round model renders it unnecessary.
  com.sun.mirror.apt.RoundState All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is `RoundEnvironment`.
  com.sun.mirror.util.SourcePosition All components of this API have been superseded by the standardized annotation processing API. There is no direct replacement for the functionality of this interface since the standardized `Messager` API implicitly takes a source position argument via any element, annotation mirror, or annotation value passed along with the message.
  com.sun.mirror.declaration.TypeDeclaration 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`.
  com.sun.mirror.type.TypeMirror All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is `TypeMirror`.
  com.sun.mirror.declaration.TypeParameterDeclaration All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is `TypeParameterElement`.
  com.sun.mirror.util.Types All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is `Types`.
  com.sun.mirror.type.TypeVariable All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is `TypeVariable`.
  com.sun.mirror.util.TypeVisitor All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is `TypeVisitor`.
  com.sun.mirror.type.VoidType 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 `NoType`.
  com.sun.mirror.type.WildcardType All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is `WildcardType`.

- Deprecated Classes
  Class and Description
  com.sun.mirror.apt.AnnotationProcessors All components of this API have been superseded by the standardized annotation processing API. There is no direct analog of the functionality of this class in the standardized API.
  com.sun.mirror.util.DeclarationFilter All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this class is `ElementFilter`.
  com.sun.mirror.util.DeclarationVisitors All components of this API have been superseded by the standardized annotation processing API. There is no direct replacement for the functionality of this class in the standardized API due to that API's different visitor structure.
  com.sun.mirror.apt.RoundCompleteEvent All components of this API have been superseded by the standardized annotation processing API. This class has no direct analog in the standardized API because the different round model renders it unnecessary.
  com.sun.mirror.util.SimpleDeclarationVisitor All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this class is `SimpleElementVisitor6`.
  com.sun.mirror.util.SimpleTypeVisitor All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this class is `SimpleTypeVisitor6`.

- Deprecated Enums
  Enum and Description
  com.sun.mirror.apt.Filer.Location All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this enum is `StandardLocation`.
  com.sun.mirror.declaration.Modifier All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this enum is `Modifier`.
  com.sun.mirror.type.PrimitiveType.Kind All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this enum is `TypeKind`.

- Deprecated Exceptions
  Exceptions and Description
  com.sun.mirror.type.MirroredTypeException All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this exception is `MirroredTypeException`.
  com.sun.mirror.type.MirroredTypesException All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this exception is `MirroredTypesException`.

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