|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jdt.internal.compiler.AbstractAnnotationProcessorManager
org.eclipse.jdt.internal.compiler.apt.dispatch.BaseAnnotationProcessorManager
org.eclipse.jdt.internal.compiler.apt.dispatch.BatchAnnotationProcessorManager
public class BatchAnnotationProcessorManager
Java 6 annotation processor manager used when compiling from the command line or via the javax.tools.JavaCompiler interface.
org.eclipse.jdt.internal.compiler.apt.ide.dispatch.IdeAnnotationProcessorManager
Field Summary |
---|
Fields inherited from class org.eclipse.jdt.internal.compiler.apt.dispatch.BaseAnnotationProcessorManager |
---|
_err, _isFirstRound, _out, _printProcessorInfo, _printRounds, _processingEnv, _processors, _round |
Constructor Summary | |
---|---|
BatchAnnotationProcessorManager()
Zero-arg constructor so this object can be easily created via reflection. |
Method Summary | |
---|---|
void |
configure(Object batchCompiler,
String[] commandLineArguments)
Configure the receiver using the given batch compiler and the given options. |
ProcessorInfo |
discoverNextProcessor()
Return the next processor that can be discovered, according to the order and discovery rules of the provider (see, for instance, Processor . |
void |
reportProcessorException(Processor p,
Exception e)
Called when a processor throws an exception. |
void |
setProcessors(Object[] processors)
Set the processors for annotation processing. |
Methods inherited from class org.eclipse.jdt.internal.compiler.apt.dispatch.BaseAnnotationProcessorManager |
---|
configureFromPlatform, getDeletedUnits, getDiscoveredProcessors, getNewClassFiles, getNewUnits, processAnnotations, reset, setErr, setOut |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BatchAnnotationProcessorManager()
#configure(Main, String[])
method has been called.
Method Detail |
---|
public void configure(Object batchCompiler, String[] commandLineArguments)
AbstractAnnotationProcessorManager
AbstractAnnotationProcessorManager.configureFromPlatform(Compiler, Object, Object)
.
configure
in class BaseAnnotationProcessorManager
batchCompiler
- the given batch compiler objectcommandLineArguments
- the given optionspublic ProcessorInfo discoverNextProcessor()
IProcessorProvider
Processor
.
null
if there are
no more processors to be discovered.public void reportProcessorException(Processor p, Exception e)
IProcessorProvider
p
- the processor, if known, or null if not.public void setProcessors(Object[] processors)
AbstractAnnotationProcessorManager
setProcessors
in class BaseAnnotationProcessorManager
processors
- the given processors
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |