Groovy 2.2.0

org.codehaus.groovy.classgen.asm
[Java] Class ClosureWriter

java.lang.Object
  org.codehaus.groovy.classgen.asm.ClosureWriter

public class ClosureWriter
extends Object

Nested Class Summary
protected static interface ClosureWriter.UseExistingReference

 
Constructor Summary
ClosureWriter(WriterController wc)

 
Method Summary
boolean addGeneratedClosureConstructorCall(ConstructorCallExpression call)

protected ClassNode createClosureClass(ClosureExpression expression, int mods)

protected Parameter[] getClosureSharedVariables(ClosureExpression ce)

ClassNode getOrAddClosureClass(ClosureExpression expression, int mods)

static void loadReference(String name, WriterController controller)

void writeClosure(ClosureExpression expression)

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Constructor Detail

ClosureWriter

public ClosureWriter(WriterController wc)


 
Method Detail

addGeneratedClosureConstructorCall

public boolean addGeneratedClosureConstructorCall(ConstructorCallExpression call)


createClosureClass

protected ClassNode createClosureClass(ClosureExpression expression, int mods)


getClosureSharedVariables

protected Parameter[] getClosureSharedVariables(ClosureExpression ce)


getOrAddClosureClass

public ClassNode getOrAddClosureClass(ClosureExpression expression, int mods)


loadReference

public static void loadReference(String name, WriterController controller)


writeClosure

public void writeClosure(ClosureExpression expression)


 

Copyright © 2003-2013 The Codehaus. All rights reserved.