Annotation processor options are configured in the Annotation Processing preference dialog. Certain options are automatically provided to the processors (for Java 5 processors; entering them in this dialog will have no effect, since the automatically provided values will override any values set here), or provided to the processors as variables (for Java 6 processors, see details below). The automatic options include the following:
RECONCILE
, BUILD
, or OTHER
, depending
on whether the processor has been called during editing, during a build, or outside the
context of compilation, respectively. This option is only provided when running in the Eclipse IDE.
Except for phase
, there are no automatically provided options for processors
using the Java 6 annotation processing API, where JavaFileManager methods provide similar functionality.
However, the values of the automatic options are made available to Java 6 processors as variables like
%classpath%
or %sourcepath%
when
setting up processor options.