Class BatchFilerImpl
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.apt.dispatch.BatchFilerImpl
- All Implemented Interfaces:
Filer
- Direct Known Subclasses:
AjBatchFilerImpl
Implementation of Filer used when compilation is driven by command line
or by Tool interface. This version does not need to keep track of
dependencies.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final BaseAnnotationProcessorManagerprotected final BatchProcessingEnvImplprotected final JavaFileManager -
Constructor Summary
ConstructorsConstructorDescriptionBatchFilerImpl(BaseAnnotationProcessorManager dispatchManager, BatchProcessingEnvImpl env) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddNewClassFile(ReferenceBinding binding) voidaddNewUnit(ICompilationUnit unit) createClassFile(CharSequence name, Element... originatingElements) createResource(JavaFileManager.Location location, CharSequence pkg, CharSequence relativeName, Element... originatingElements) createSourceFile(CharSequence name, Element... originatingElements) getResource(JavaFileManager.Location location, CharSequence pkg, CharSequence relativeName)
-
Field Details
-
_dispatchManager
-
_env
-
_fileManager
-
_createdFiles
-
-
Constructor Details
-
BatchFilerImpl
-
-
Method Details
-
addNewUnit
-
addNewClassFile
-
createClassFile
public JavaFileObject createClassFile(CharSequence name, Element... originatingElements) throws IOException - Specified by:
createClassFilein interfaceFiler- Throws:
IOException
-
createResource
public FileObject createResource(JavaFileManager.Location location, CharSequence pkg, CharSequence relativeName, Element... originatingElements) throws IOException - Specified by:
createResourcein interfaceFiler- Throws:
IOException
-
createSourceFile
public JavaFileObject createSourceFile(CharSequence name, Element... originatingElements) throws IOException - Specified by:
createSourceFilein interfaceFiler- Throws:
IOException
-
getResource
public FileObject getResource(JavaFileManager.Location location, CharSequence pkg, CharSequence relativeName) throws IOException - Specified by:
getResourcein interfaceFiler- Throws:
IOException
-