public abstract class BaseProcessingEnvImpl extends Object implements ProcessingEnvironment
| Modifier and Type | Field and Description |
|---|---|
protected Compiler |
_compiler |
protected Elements |
_elementUtils |
protected Filer |
_filer |
protected Messager |
_messager |
protected Map<String,String> |
_processorOptions |
protected 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() |
Elements |
getElementUtils() |
Factory |
getFactory() |
Filer |
getFiler() |
LookupEnvironment |
getLookupEnvironment() |
Messager |
getMessager() |
ReferenceBinding[] |
getNewClassFiles() |
ICompilationUnit[] |
getNewUnits() |
Map<String,String> |
getOptions() |
SourceVersion |
getSourceVersion() |
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLocaleprotected Filer _filer
protected Messager _messager
protected Compiler _compiler
protected Elements _elementUtils
protected Types _typeUtils
public void addNewUnit(ICompilationUnit unit)
public void addNewClassFile(ReferenceBinding binding)
public Compiler getCompiler()
public ICompilationUnit[] getDeletedUnits()
public ICompilationUnit[] getNewUnits()
public Elements getElementUtils()
getElementUtils in interface ProcessingEnvironmentpublic Filer getFiler()
getFiler in interface ProcessingEnvironmentpublic Messager getMessager()
getMessager in interface ProcessingEnvironmentpublic Map<String,String> getOptions()
getOptions in interface ProcessingEnvironmentpublic Types getTypeUtils()
getTypeUtils in interface ProcessingEnvironmentpublic LookupEnvironment getLookupEnvironment()
public SourceVersion getSourceVersion()
getSourceVersion in interface ProcessingEnvironmentpublic void reset()
public boolean errorRaised()
public void setErrorRaised(boolean b)
public Factory getFactory()
public ReferenceBinding[] getNewClassFiles()
Copyright © 2013. All rights reserved.