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