Class StaticTypesLambdaWriter
java.lang.Object
org.codehaus.groovy.classgen.asm.ClosureWriter
org.codehaus.groovy.classgen.asm.LambdaWriter
org.codehaus.groovy.classgen.asm.sc.StaticTypesLambdaWriter
- All Implemented Interfaces:
- AbstractFunctionalInterfaceWriter
public class StaticTypesLambdaWriter
extends LambdaWriter
implements AbstractFunctionalInterfaceWriter
Writer responsible for generating lambda classes in statically compiled mode.
- 
Nested Class SummaryNested classes/interfaces inherited from class org.codehaus.groovy.classgen.asm.ClosureWriterClosureWriter.CorrectAccessedVariableVisitor, ClosureWriter.UseExistingReference
- 
Field SummaryFields inherited from class org.codehaus.groovy.classgen.asm.ClosureWritercontroller, OUTER_INSTANCE, THIS_OBJECTFields inherited from interface org.codehaus.groovy.classgen.asm.sc.AbstractFunctionalInterfaceWriterORIGINAL_PARAMETERS_WITH_EXACT_TYPE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected ClassNodecreateClosureClass(ClosureExpression expression, int modifiers) protected ClassNodecreateLambdaClass(LambdaExpression expression, int modifiers, MethodNode abstractMethod) voidwriteLambda(LambdaExpression expression) Methods inherited from class org.codehaus.groovy.classgen.asm.LambdaWritergetLambdaSharedVariablesMethods inherited from class org.codehaus.groovy.classgen.asm.ClosureWriteraddConstructor, addFieldsAndGettersForLocalVariables, addGeneratedClosureConstructorCall, createBlockStatementForConstructor, getClosureSharedVariables, getOrAddClosureClass, loadReference, loadThis, removeInitialValues, writeClosureMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.codehaus.groovy.classgen.asm.sc.AbstractFunctionalInterfaceWriterconvertParameterType, convertParameterType, createBootstrapMethod, createBootstrapMethodArguments, createBootstrapMethodArguments, createMethodDescriptor, getFunctionalInterfaceType, prependParameter
- 
Constructor Details- 
StaticTypesLambdaWriter
 
- 
- 
Method Details- 
writeLambda- Overrides:
- writeLambdain class- LambdaWriter
 
- 
createClosureClass- Overrides:
- createClosureClassin class- ClosureWriter
 
- 
createLambdaClassprotected ClassNode createLambdaClass(LambdaExpression expression, int modifiers, MethodNode abstractMethod) 
 
-