Uses of Interface
com.sun.mirror.util.SourcePosition
Package
Description
Classes used to communicate information between
annotation processors
and an annotation processing tool.
Interfaces used to model program element declarations.
This package contains miscellaneous APIs related to Java annotation processing.
-
Uses of SourcePosition in com.sun.mirror.apt
Modifier and TypeMethodDescriptionvoid
Messager.printError
(SourcePosition pos, String msg) Prints an error message.void
Messager.printNotice
(SourcePosition pos, String msg) Prints a notice.void
Messager.printWarning
(SourcePosition pos, String msg) Prints a warning message. -
Uses of SourcePosition in com.sun.mirror.declaration
Modifier and TypeMethodDescriptionAnnotationMirror.getPosition()
Returns the source position of the beginning of this annotation.AnnotationValue.getPosition()
Returns the source position of the beginning of this annotation value.Declaration.getPosition()
Returns the source position of the beginning of this declaration. -
Uses of SourcePosition in org.eclipse.jdt.apt.core.util
Modifier and TypeMethodDescriptionvoid
EclipseMessager.printFixableError
(SourcePosition pos, String msg, String pluginId, String errorId) Print an error including the given arguments for use in quick-fixes.void
EclipseMessager.printFixableNotice
(SourcePosition pos, String msg, String pluginId, String errorId) Print a notice including the given arguments for use in quick-fixes.void
EclipseMessager.printFixableWarning
(SourcePosition pos, String msg, String pluginId, String errorId) Print a warning including the given arguments for use in quick-fixes.