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.
- Siehe auch:
-
-
ungültiges @see
org.aspectj.org.eclipse.jdt.internal.apt.pluggable.core.dispatch.IdeAnnotationProcessorManager
-
-
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 voidcleanUp()Final cleanup after all rounds have completed.protected voidvoidConfigure 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.voidCalled when a processor throws an exception.voidreset()Reinitialize the receivervoidsetProcessors(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:AbstractAnnotationProcessorManagerConfigure 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:
configurein KlasseBaseAnnotationProcessorManager- Parameter:
batchCompiler- the given batch compiler objectcommandLineArguments- the given options
-
discoverNextProcessor
Beschreibung aus Schnittstelle kopiert:IProcessorProviderReturn 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
nullif there are no more processors to be discovered.
-
reportProcessorException
Beschreibung aus Schnittstelle kopiert:IProcessorProviderCalled 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.
-
setProcessors
Beschreibung aus Klasse kopiert:AbstractAnnotationProcessorManagerSet the processors for annotation processing.- Setzt außer Kraft:
setProcessorsin KlasseBaseAnnotationProcessorManager- Parameter:
processors- the given processors
-
cleanUp
protected void cleanUp()Beschreibung aus Klasse kopiert:AbstractAnnotationProcessorManagerFinal cleanup after all rounds have completed.- Setzt außer Kraft:
cleanUpin KlasseAbstractAnnotationProcessorManager
-
reset
public void reset()Beschreibung aus Klasse kopiert:AbstractAnnotationProcessorManagerReinitialize the receiver- Setzt außer Kraft:
resetin KlasseBaseAnnotationProcessorManager
-
closeClassLoader
protected void closeClassLoader()- Angegeben von:
closeClassLoaderin KlasseAbstractAnnotationProcessorManager
-