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.
|
org.eclipse.jdt.apt.core.util |
This package contains miscellaneous APIs related to Java annotation processing.
|
Modifier and Type | Method and Description |
---|---|
void |
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.
|
Modifier and Type | Method and Description |
---|---|
SourcePosition |
Declaration.getPosition()
Returns the source position of the beginning of this declaration.
|
SourcePosition |
AnnotationValue.getPosition()
Returns the source position of the beginning of this annotation value.
|
SourcePosition |
AnnotationMirror.getPosition()
Returns the source position of the beginning of this annotation.
|
Modifier and Type | Method and Description |
---|---|
void |
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.
|
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.