org.eclipse.jdt.internal.compiler.apt.dispatch
类 BatchFilerImpl

java.lang.Object
  继承者 org.eclipse.jdt.internal.compiler.apt.dispatch.BatchFilerImpl
所有已实现的接口:
javax.annotation.processing.Filer

public class BatchFilerImpl
extends Object
implements javax.annotation.processing.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.


字段摘要
protected  HashSet<URI> _createdFiles
           
protected  BaseAnnotationProcessorManager _dispatchManager
           
protected  BaseProcessingEnvImpl _env
           
protected  javax.tools.JavaFileManager _fileManager
           
 
构造方法摘要
BatchFilerImpl(BaseAnnotationProcessorManager dispatchManager, BatchProcessingEnvImpl env)
           
 
方法摘要
 void addNewClassFile(ReferenceBinding binding)
           
 void addNewUnit(ICompilationUnit unit)
           
 javax.tools.JavaFileObject createClassFile(CharSequence name, javax.lang.model.element.Element... originatingElements)
           
 javax.tools.FileObject createResource(javax.tools.JavaFileManager.Location location, CharSequence pkg, CharSequence relativeName, javax.lang.model.element.Element... originatingElements)
           
 javax.tools.JavaFileObject createSourceFile(CharSequence name, javax.lang.model.element.Element... originatingElements)
           
 javax.tools.FileObject getResource(javax.tools.JavaFileManager.Location location, CharSequence pkg, CharSequence relativeName)
           
 
从类 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 javax.tools.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 javax.tools.JavaFileObject createClassFile(CharSequence name,
                                                  javax.lang.model.element.Element... originatingElements)
                                           throws IOException
指定者:
接口 javax.annotation.processing.Filer 中的 createClassFile
抛出:
IOException

createResource

public javax.tools.FileObject createResource(javax.tools.JavaFileManager.Location location,
                                             CharSequence pkg,
                                             CharSequence relativeName,
                                             javax.lang.model.element.Element... originatingElements)
                                      throws IOException
指定者:
接口 javax.annotation.processing.Filer 中的 createResource
抛出:
IOException

createSourceFile

public javax.tools.JavaFileObject createSourceFile(CharSequence name,
                                                   javax.lang.model.element.Element... originatingElements)
                                            throws IOException
指定者:
接口 javax.annotation.processing.Filer 中的 createSourceFile
抛出:
IOException

getResource

public javax.tools.FileObject getResource(javax.tools.JavaFileManager.Location location,
                                          CharSequence pkg,
                                          CharSequence relativeName)
                                   throws IOException
指定者:
接口 javax.annotation.processing.Filer 中的 getResource
抛出:
IOException


Copyright © 2013. All Rights Reserved.