public abstract class BaseProcessingEnvImpl
extends java.lang.Object
implements javax.annotation.processing.ProcessingEnvironment
| Modifier and Type | Field and Description |
|---|---|
protected Compiler |
_compiler |
protected javax.lang.model.util.Elements |
_elementUtils |
protected javax.annotation.processing.Filer |
_filer |
protected javax.annotation.processing.Messager |
_messager |
protected java.util.Map<java.lang.String,java.lang.String> |
_processorOptions |
protected javax.lang.model.util.Types |
_typeUtils |
| Constructor and Description |
|---|
BaseProcessingEnvImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addNewClassFile(ReferenceBinding binding) |
void |
addNewUnit(ICompilationUnit unit) |
boolean |
errorRaised()
Has an error been raised in any of the rounds of processing in this build?
|
Compiler |
getCompiler() |
ICompilationUnit[] |
getDeletedUnits() |
javax.lang.model.util.Elements |
getElementUtils() |
Factory |
getFactory() |
javax.annotation.processing.Filer |
getFiler() |
LookupEnvironment |
getLookupEnvironment() |
javax.annotation.processing.Messager |
getMessager() |
ReferenceBinding[] |
getNewClassFiles() |
ICompilationUnit[] |
getNewUnits() |
java.util.Map<java.lang.String,java.lang.String> |
getOptions() |
javax.lang.model.SourceVersion |
getSourceVersion() |
javax.lang.model.util.Types |
getTypeUtils() |
void |
reset()
Called when AnnotationProcessorManager has retrieved the list of
newly generated compilation units (ie, once per round)
|
void |
setErrorRaised(boolean b)
Set or clear the errorRaised flag.
|
protected javax.annotation.processing.Filer _filer
protected javax.annotation.processing.Messager _messager
protected java.util.Map<java.lang.String,java.lang.String> _processorOptions
protected Compiler _compiler
protected javax.lang.model.util.Elements _elementUtils
protected javax.lang.model.util.Types _typeUtils
public void addNewUnit(ICompilationUnit unit)
public void addNewClassFile(ReferenceBinding binding)
public Compiler getCompiler()
public ICompilationUnit[] getDeletedUnits()
public ICompilationUnit[] getNewUnits()
public javax.lang.model.util.Elements getElementUtils()
getElementUtils in interface javax.annotation.processing.ProcessingEnvironmentpublic javax.annotation.processing.Filer getFiler()
getFiler in interface javax.annotation.processing.ProcessingEnvironmentpublic javax.annotation.processing.Messager getMessager()
getMessager in interface javax.annotation.processing.ProcessingEnvironmentpublic java.util.Map<java.lang.String,java.lang.String> getOptions()
getOptions in interface javax.annotation.processing.ProcessingEnvironmentpublic javax.lang.model.util.Types getTypeUtils()
getTypeUtils in interface javax.annotation.processing.ProcessingEnvironmentpublic LookupEnvironment getLookupEnvironment()
public javax.lang.model.SourceVersion getSourceVersion()
getSourceVersion in interface javax.annotation.processing.ProcessingEnvironmentpublic void reset()
public boolean errorRaised()
public void setErrorRaised(boolean b)
public Factory getFactory()
public ReferenceBinding[] getNewClassFiles()