|
|||||
FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A callback interface you can use to get a callback after every unit of the compile process. You will be called-back with a ProcessingUnit and a phase indicator. Use setProgressCallback() before running compile() to set your callback.
Field Summary | |
---|---|
PrimaryClassNodeOperation |
classgen
|
SourceUnitOperation |
compileCompleteCheck
|
SourceUnitOperation |
convert
|
SourceUnitOperation |
mark
|
GroovyClassOperation |
output
|
SourceUnitOperation |
resolve
|
PrimaryClassNodeOperation |
staticImport
|
Constructor Summary | |
ProgressCallback()
|
Method Summary | |
---|---|
void |
call(ProcessingUnit context, int phase)
|
void |
compile()
Synonym for compile(Phases.ALL). |
void |
compile(int throughPhase)
Compiles the compilation unit from sources. |
ClassVisitor |
createClassVisitor()
|
boolean |
dequeued()
Dequeues any source units add through addSource and resets the compiler phase to initialization. |
void |
mark()
Updates the phase marker on all sources. |
void |
setProgressCallback(ProgressCallback callback)
Sets a ProgressCallback. |
void |
sortClasses()
|
Constructor Detail |
---|
ProgressCallback()
Method Detail |
---|
public void call(ProcessingUnit context, int phase)
public void compile()
public void compile(int throughPhase)
ClassVisitor createClassVisitor()
boolean dequeued()
void mark()
public void setProgressCallback(ProgressCallback callback)
void sortClasses()