# Uses of Package
com.sun.mirror.util

- Packages that use com.sun.mirror.util
  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.

- Classes in com.sun.mirror.util used by com.sun.mirror.apt
  Class and Description
  Declarations Deprecated. All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is `Elements`.
  SourcePosition Deprecated. 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.
  Types Deprecated. All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is `Types`.

- Classes in com.sun.mirror.util used by com.sun.mirror.declaration
  Class and Description
  DeclarationVisitor Deprecated. All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is `ElementVisitor`.
  SourcePosition Deprecated. 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.

- Classes in com.sun.mirror.util used by com.sun.mirror.type
  Class and Description
  TypeVisitor Deprecated. All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is `TypeVisitor`.

- Classes in com.sun.mirror.util used by com.sun.mirror.util
  Class and Description
  DeclarationFilter Deprecated. All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this class is `ElementFilter`.
  DeclarationVisitor Deprecated. All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is `ElementVisitor`.
  TypeVisitor Deprecated. All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is `TypeVisitor`.

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