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 Summary- 
Nested classes/interfaces inherited from class org.codehaus.groovy.classgen.asm.ClosureWriterClosureWriter.CorrectAccessedVariableVisitor, ClosureWriter.UseExistingReference
 
- 
 - 
Field Summary- 
Fields inherited from class org.codehaus.groovy.classgen.asm.ClosureWritercontroller, OUTER_INSTANCE, THIS_OBJECT
 - 
Fields inherited from interface org.codehaus.groovy.classgen.asm.sc.AbstractFunctionalInterfaceWriterORIGINAL_PARAMETERS_WITH_EXACT_TYPE
 
- 
 - 
Constructor SummaryConstructors Constructor Description StaticTypesLambdaWriter(WriterController controller)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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.LambdaWritergetLambdaSharedVariables
 - 
Methods inherited from class org.codehaus.groovy.classgen.asm.ClosureWriteraddConstructor, addFieldsAndGettersForLocalVariables, addGeneratedClosureConstructorCall, createBlockStatementForConstructor, getClosureSharedVariables, getOrAddClosureClass, loadReference, loadThis, removeInitialValues, writeClosure
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.codehaus.groovy.classgen.asm.sc.AbstractFunctionalInterfaceWriterconvertParameterType, createBootstrapMethod, createBootstrapMethodArguments, createMethodDescriptor, getFunctionalInterfaceType, prependParameter
 
- 
 
- 
- 
- 
Constructor Detail- 
StaticTypesLambdaWriterpublic StaticTypesLambdaWriter(WriterController controller) 
 
- 
 - 
Method Detail- 
writeLambdapublic void writeLambda(LambdaExpression expression) - Overrides:
- writeLambdain class- LambdaWriter
 
 - 
createClosureClassprotected ClassNode createClosureClass(ClosureExpression expression, int modifiers) - Overrides:
- createClosureClassin class- ClosureWriter
 
 - 
createLambdaClassprotected ClassNode createLambdaClass(LambdaExpression expression, int modifiers, MethodNode abstractMethod) 
 
- 
 
-