public class BuckJavacTaskProxyImpl extends Object implements BuckJavacTaskProxy
Constructor and Description |
---|
BuckJavacTaskProxyImpl(BuckJavacTask javacTask) |
BuckJavacTaskProxyImpl(JavaCompiler.CompilationTask javacTask) |
Modifier and Type | Method and Description |
---|---|
void |
addPostEnterCallback(java.util.function.Consumer<Set<Element>> callback) |
void |
addTaskListener(BuckJavacTaskListener buckTaskListener) |
Iterable<? extends Element> |
analyze() |
Boolean |
call() |
Iterable<? extends Element> |
enter() |
Iterable<? extends JavaFileObject> |
generate() |
ElementsExtended |
getElements() |
BuckJavacTask |
getInner() |
Messager |
getMessager() |
Types |
getTypes() |
Iterable<CompilationUnitTreeProxy> |
parse() |
void |
removeTaskListener(BuckJavacTaskListener buckTaskListener) |
void |
setLocale(Locale locale) |
void |
setProcessors(Iterable<? extends Processor> processors) |
void |
setTaskListener(BuckJavacTaskListener buckTaskListener) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTask
public BuckJavacTaskProxyImpl(JavaCompiler.CompilationTask javacTask)
public BuckJavacTaskProxyImpl(BuckJavacTask javacTask)
public BuckJavacTask getInner()
public Iterable<CompilationUnitTreeProxy> parse() throws IOException
parse
in interface BuckJavacTaskProxy
IOException
public Iterable<? extends Element> enter() throws IOException
enter
in interface BuckJavacTaskProxy
IOException
public Iterable<? extends Element> analyze() throws IOException
analyze
in interface BuckJavacTaskProxy
IOException
public Iterable<? extends JavaFileObject> generate() throws IOException
generate
in interface BuckJavacTaskProxy
IOException
public void setTaskListener(BuckJavacTaskListener buckTaskListener)
setTaskListener
in interface BuckJavacTaskProxy
public void addTaskListener(BuckJavacTaskListener buckTaskListener)
addTaskListener
in interface BuckJavacTaskProxy
public void removeTaskListener(BuckJavacTaskListener buckTaskListener)
removeTaskListener
in interface BuckJavacTaskProxy
public void addPostEnterCallback(java.util.function.Consumer<Set<Element>> callback)
addPostEnterCallback
in interface BuckJavacTaskProxy
public ElementsExtended getElements()
getElements
in interface BuckJavacTaskProxy
public Types getTypes()
getTypes
in interface BuckJavacTaskProxy
public Messager getMessager()
getMessager
in interface BuckJavacTaskProxy
public void setProcessors(Iterable<? extends Processor> processors)
setProcessors
in interface JavaCompiler.CompilationTask
public void setLocale(Locale locale)
setLocale
in interface JavaCompiler.CompilationTask