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
Modifier and TypeFieldDescriptionprotected BaseAnnotationProcessorManager
protected BatchProcessingEnvImpl
protected JavaFileManager
-
Constructor Summary
ConstructorDescriptionBatchFilerImpl(BaseAnnotationProcessorManager dispatchManager, BatchProcessingEnvImpl env)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addNewClassFile(ReferenceBinding binding)
void
addNewUnit(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:
createClassFile
in interfaceFiler
- Throws:
IOException
-
createResource
public FileObject createResource(JavaFileManager.Location location, CharSequence pkg, CharSequence relativeName, Element... originatingElements) throws IOException- Specified by:
createResource
in interfaceFiler
- Throws:
IOException
-
createSourceFile
public JavaFileObject createSourceFile(CharSequence name, Element... originatingElements) throws IOException- Specified by:
createSourceFile
in interfaceFiler
- Throws:
IOException
-
getResource
public FileObject getResource(JavaFileManager.Location location, CharSequence pkg, CharSequence relativeName) throws IOException- Specified by:
getResource
in interfaceFiler
- Throws:
IOException
-