public abstract class AbstractAnnotationProcessorManager
extends java.lang.Object
| Constructor and Description |
|---|
AbstractAnnotationProcessorManager() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
configure(java.lang.Object batchCompiler,
java.lang.String[] options)
Configure the receiver using the given batch compiler and the given options.
|
abstract void |
configureFromPlatform(Compiler compiler,
java.lang.Object compilationUnitLocator,
java.lang.Object javaProject)
Configure the receiver using the given compiler, the given compilationUnitLocator and
the given java project.
|
abstract ICompilationUnit[] |
getDeletedUnits()
Returns the deleted units.
|
abstract ReferenceBinding[] |
getNewClassFiles()
Return the new binary bindings created in the last round.
|
abstract ICompilationUnit[] |
getNewUnits()
Return the new units created in the last round.
|
abstract void |
processAnnotations(CompilationUnitDeclaration[] units,
ReferenceBinding[] referenceBindings,
boolean isLastRound)
Run a new annotation processing round on the given values.
|
abstract void |
reset()
Reinitialize the receiver
|
abstract void |
setErr(java.io.PrintWriter err)
Set the print writer for the standard error.
|
abstract void |
setOut(java.io.PrintWriter out)
Set the print writer for the standard output.
|
abstract void |
setProcessors(java.lang.Object[] processors)
Set the processors for annotation processing.
|
public abstract void configure(java.lang.Object batchCompiler,
java.lang.String[] options)
configureFromPlatform(Compiler, Object, Object).batchCompiler - the given batch compiler objectoptions - the given optionspublic abstract void configureFromPlatform(Compiler compiler, java.lang.Object compilationUnitLocator, java.lang.Object javaProject)
compiler - the given compilercompilationUnitLocator - the given compilation unit locatorjavaProject - the given java projectpublic abstract void setOut(java.io.PrintWriter out)
out - the given print writer for outputpublic abstract void setErr(java.io.PrintWriter err)
err - the given print writer for errorpublic abstract ICompilationUnit[] getNewUnits()
public abstract ReferenceBinding[] getNewClassFiles()
public abstract ICompilationUnit[] getDeletedUnits()
public abstract void reset()
public abstract void processAnnotations(CompilationUnitDeclaration[] units, ReferenceBinding[] referenceBindings, boolean isLastRound)
units - the given source typereferenceBindings - the given binary typesisLastRound - flag to notify the last roundpublic abstract void setProcessors(java.lang.Object[] processors)
processors - the given processors