public class LambdaWriter extends ClosureWriter
ClosureWriter.CorrectAccessedVariableVisitor, ClosureWriter.UseExistingReference
controller, OUTER_INSTANCE, THIS_OBJECT
Constructor and Description |
---|
LambdaWriter(WriterController controller) |
Modifier and Type | Method and Description |
---|---|
protected Parameter[] |
getLambdaSharedVariables(LambdaExpression expression) |
void |
writeLambda(LambdaExpression expression) |
addConstructor, addFieldsAndGettersForLocalVariables, addGeneratedClosureConstructorCall, createBlockStatementForConstructor, createClosureClass, getClosureSharedVariables, getOrAddClosureClass, loadReference, loadThis, removeInitialValues, writeClosure
public LambdaWriter(WriterController controller)
public void writeLambda(LambdaExpression expression)
protected Parameter[] getLambdaSharedVariables(LambdaExpression expression)