FileDocCategorySizeDatePackage
JavacTask.javaAPI DocJava SE 6 API2374Tue Jun 10 00:23:26 BST 2008com.sun.source.util

JavacTask

public abstract class JavacTask extends Object implements javax.tools.JavaCompiler.CompilationTask
Provides access to functionality specific to the Sun Java Compiler, javac.
author
Peter von der Ahé
author
Jonathan Gibbons
since
1.6

Fields Summary
Constructors Summary
Methods Summary
public abstract java.lang.Iterableanalyze()
Complete all analysis.

return
a list of elements that were analyzed
throws
IOException if an unhandled I/O error occurred in the compiler.

public abstract java.lang.Iterablegenerate()
Generate code.

return
a list of files that were generated
throws
IOException if an unhandled I/O error occurred in the compiler.

public abstract javax.lang.model.util.ElementsgetElements()
Get a utility object for dealing with program elements.

public abstract javax.lang.model.type.TypeMirrorgetTypeMirror(java.lang.Iterable path)
Get a type mirror of the tree node determined by the specified path.

public abstract javax.lang.model.util.TypesgetTypes()
Get a utility object for dealing with type mirrors.

public abstract java.lang.Iterableparse()
Parse the specified files returning a list of abstract syntax trees.

return
a list of abstract syntax trees
throws
IOException if an unhandled I/O error occurred in the compiler.

public abstract voidsetTaskListener(com.sun.source.util.TaskListener taskListener)
The specified listener will receive events describing the progress of this compilation task.