Klasse BatchAnnotationProcessorManager
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.AbstractAnnotationProcessorManager
org.aspectj.org.eclipse.jdt.internal.compiler.apt.dispatch.BaseAnnotationProcessorManager
org.aspectj.org.eclipse.jdt.internal.compiler.apt.dispatch.BatchAnnotationProcessorManager
- Alle implementierten Schnittstellen:
IProcessorProvider
Java 6 annotation processor manager used when compiling from the command line
or via the javax.tools.JavaCompiler interface.
-
Feldübersicht
Von Klasse geerbte Felder org.aspectj.org.eclipse.jdt.internal.compiler.apt.dispatch.BaseAnnotationProcessorManager
_err, _isFirstRound, _out, _printProcessorInfo, _printRounds, _processingEnv, _processors, _round
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungZero-arg constructor so this object can be easily created via reflection. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected void
cleanUp()
Final cleanup after all rounds have completed.protected void
void
Configure the receiver using the given batch compiler and the given options.Return the next processor that can be discovered, according to the order and discovery rules of the provider (see, for instance,Processor
.void
Called when a processor throws an exception.void
reset()
Reinitialize the receivervoid
setProcessors
(Object[] processors) Set the processors for annotation processing.Von Klasse geerbte Methoden org.aspectj.org.eclipse.jdt.internal.compiler.apt.dispatch.BaseAnnotationProcessorManager
configureFromPlatform, getDeletedUnits, getDiscoveredProcessors, getNewClassFiles, getNewUnits, processAnnotations, setErr, setOut
-
Konstruktordetails
-
BatchAnnotationProcessorManager
public BatchAnnotationProcessorManager()Zero-arg constructor so this object can be easily created via reflection. A BatchAnnotationProcessorManager cannot be used until itsconfigure(Object, String[])
method has been called.
-
-
Methodendetails
-
configure
Beschreibung aus Klasse kopiert:AbstractAnnotationProcessorManager
Configure the receiver using the given batch compiler and the given options. The parameter batchCompiler is expected to be an instance of the batch compiler. This method is only used for the batch mode. For the IDE mode, please seeAbstractAnnotationProcessorManager.configureFromPlatform(Compiler, Object, Object, boolean)
.- Setzt außer Kraft:
configure
in KlasseBaseAnnotationProcessorManager
- Parameter:
batchCompiler
- the given batch compiler objectcommandLineArguments
- the given options
-
discoverNextProcessor
Beschreibung aus Schnittstelle kopiert:IProcessorProvider
Return the next processor that can be discovered, according to the order and discovery rules of the provider (see, for instance,Processor
.- Gibt zurück:
- a ProcessorInfo wrapping an initialized Processor, or
null
if there are no more processors to be discovered.
-
reportProcessorException
Beschreibung aus Schnittstelle kopiert:IProcessorProvider
Called when a processor throws an exception. This may abort compilation, throw an unchecked exception, etc; the caller should not assume that this method will return.- Parameter:
p
- the processor, if known, or null if not.e
-
-
setProcessors
Beschreibung aus Klasse kopiert:AbstractAnnotationProcessorManager
Set the processors for annotation processing.- Setzt außer Kraft:
setProcessors
in KlasseBaseAnnotationProcessorManager
- Parameter:
processors
- the given processors
-
cleanUp
protected void cleanUp()Beschreibung aus Klasse kopiert:AbstractAnnotationProcessorManager
Final cleanup after all rounds have completed.- Setzt außer Kraft:
cleanUp
in KlasseAbstractAnnotationProcessorManager
-
reset
public void reset()Beschreibung aus Klasse kopiert:AbstractAnnotationProcessorManager
Reinitialize the receiver- Setzt außer Kraft:
reset
in KlasseBaseAnnotationProcessorManager
-
closeClassLoader
protected void closeClassLoader()- Angegeben von:
closeClassLoader
in KlasseAbstractAnnotationProcessorManager
-