Class StaticTypesClosureWriter
java.lang.Object
org.codehaus.groovy.classgen.asm.ClosureWriter
org.codehaus.groovy.classgen.asm.sc.StaticTypesClosureWriter
public class StaticTypesClosureWriter extends ClosureWriter
Writer responsible for generating closure classes in statically compiled mode.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.codehaus.groovy.classgen.asm.ClosureWriter
ClosureWriter.CorrectAccessedVariableVisitor, ClosureWriter.UseExistingReference -
Field Summary
Fields inherited from class org.codehaus.groovy.classgen.asm.ClosureWriter
controller, OUTER_INSTANCE, THIS_OBJECT -
Constructor Summary
Constructors Constructor Description StaticTypesClosureWriter(WriterController wc) -
Method Summary
Modifier and Type Method Description protected ClassNodecreateClosureClass(ClosureExpression expression, int mods)Methods inherited from class org.codehaus.groovy.classgen.asm.ClosureWriter
addConstructor, addFieldsAndGettersForLocalVariables, addGeneratedClosureConstructorCall, createBlockStatementForConstructor, getClosureSharedVariables, getOrAddClosureClass, loadReference, loadThis, removeInitialValues, writeClosure
-
Constructor Details
-
StaticTypesClosureWriter
-
-
Method Details
-
createClosureClass
- Overrides:
createClosureClassin classClosureWriter
-