|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.groovy.control.CompilationUnit.PrimaryClassNodeOperation
org.codehaus.groovy.control.customizers.CompilationCustomizer
public abstract class CompilationCustomizer
Users wanting to customize the configuration process such as adding imports, restricting the
language features or apply AST transformations by default should implement this class, then
call the CompilerConfiguration.addCompilationCustomizers(CompilationCustomizer...)
method.
Constructor Summary | |
---|---|
CompilationCustomizer(CompilePhase phase)
|
Method Summary | |
---|---|
CompilePhase |
getPhase()
|
Methods inherited from class org.codehaus.groovy.control.CompilationUnit.PrimaryClassNodeOperation |
---|
call, needSortedInput |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompilationCustomizer(CompilePhase phase)
Method Detail |
---|
public CompilePhase getPhase()
|
Copyright © 2003-2010 The Codehaus. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |