org.eclipse.jdt.internal.compiler.apt.dispatch
Class BatchFilerImpl
java.lang.Object
org.eclipse.jdt.internal.compiler.apt.dispatch.BatchFilerImpl
- All Implemented Interfaces:
- Filer
public class BatchFilerImpl
- extends Object
- implements Filer
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_dispatchManager
protected final BaseAnnotationProcessorManager _dispatchManager
_env
protected final BaseProcessingEnvImpl _env
_fileManager
protected final JavaFileManager _fileManager
_createdFiles
protected final HashSet<URI> _createdFiles
BatchFilerImpl
public BatchFilerImpl(BaseAnnotationProcessorManager dispatchManager,
BatchProcessingEnvImpl env)
addNewUnit
public void addNewUnit(ICompilationUnit unit)
addNewClassFile
public void addNewClassFile(ReferenceBinding binding)
createClassFile
public JavaFileObject createClassFile(CharSequence name,
Element... originatingElements)
throws IOException
- Specified by:
createClassFile in interface Filer
- Throws:
IOException
createResource
public FileObject createResource(JavaFileManager.Location location,
CharSequence pkg,
CharSequence relativeName,
Element... originatingElements)
throws IOException
- Specified by:
createResource in interface Filer
- Throws:
IOException
createSourceFile
public JavaFileObject createSourceFile(CharSequence name,
Element... originatingElements)
throws IOException
- Specified by:
createSourceFile in interface Filer
- Throws:
IOException
getResource
public FileObject getResource(JavaFileManager.Location location,
CharSequence pkg,
CharSequence relativeName)
throws IOException
- Specified by:
getResource in interface Filer
- Throws:
IOException
Copyright © 2012. All Rights Reserved.