Class BatchProcessingEnvImpl
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.apt.dispatch.BaseProcessingEnvImpl
org.aspectj.org.eclipse.jdt.internal.compiler.apt.dispatch.BatchProcessingEnvImpl
- All Implemented Interfaces:
ProcessingEnvironment
The implementation of ProcessingEnvironment that is used when compilation is
driven by the command line or by the Tool interface. This environment uses
the JavaFileManager provided by the compiler.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Mainprotected final BaseAnnotationProcessorManagerprotected final JavaFileManagerFields inherited from class BaseProcessingEnvImpl
_compiler, _current_module, _elementUtils, _filer, _messager, _processorOptions, _typeUtils, MINIMAL_REQUIRED_RUNTIME_VERSION -
Constructor Summary
ConstructorsConstructorDescriptionBatchProcessingEnvImpl(BaseAnnotationProcessorManager dispatchManager, Main batchCompiler, String[] commandLineArguments) -
Method Summary
Methods inherited from class BaseProcessingEnvImpl
addNewClassFile, addNewUnit, errorRaised, getCompiler, getDeletedUnits, getElementUtils, getFactory, getFiler, getLookupEnvironment, getMessager, getNewClassFiles, getNewUnits, getOptions, getSourceVersion, getTypeUtils, isPreviewEnabled, reset, setErrorRaisedModifier and TypeMethodDescriptionvoidaddNewClassFile(ReferenceBinding binding) voidaddNewUnit(ICompilationUnit unit) booleanHas an error been raised in any of the rounds of processing in this build?getFiler()booleanvoidreset()Called when AnnotationProcessorManager has retrieved the list of newly generated compilation units (ie, once per round)voidsetErrorRaised(boolean b) Set or clear the errorRaised flag.
-
Field Details
-
_dispatchManager
-
_fileManager
-
_compilerOwner
-
-
Constructor Details
-
BatchProcessingEnvImpl
public BatchProcessingEnvImpl(BaseAnnotationProcessorManager dispatchManager, Main batchCompiler, String[] commandLineArguments)
-
-
Method Details
-
getFileManager
- Overrides:
getFileManagerin classBaseProcessingEnvImpl
-
getLocale
-
shouldIgnoreOptionalProblems
public boolean shouldIgnoreOptionalProblems(char[] fileName)
-