## Uses of Interface
com.sun.mirror.util.SourcePosition

- Packages that use SourcePosition
  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.

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

    Methods in com.sun.mirror.apt with parameters of type SourcePosition
    Modifier and Type | Method and Description
    --- | ---
    `void` | Messager.`printError(SourcePosition pos, String msg)` Deprecated. Prints an error message.
    `void` | Messager.`printNotice(SourcePosition pos, String msg)` Deprecated. Prints a notice.
    `void` | Messager.`printWarning(SourcePosition pos, String msg)` Deprecated. Prints a warning message.

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

    Methods in com.sun.mirror.declaration that return SourcePosition
    Modifier and Type | Method and Description
    --- | ---
    `SourcePosition` | Declaration.`getPosition()` Deprecated. Returns the source position of the beginning of this declaration.
    `SourcePosition` | AnnotationValue.`getPosition()` Deprecated. Returns the source position of the beginning of this annotation value.
    `SourcePosition` | AnnotationMirror.`getPosition()` Deprecated. Returns the source position of the beginning of this annotation.

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