|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.classgen.asm.ClosureWriter
public class ClosureWriter extends java.lang.Object
Nested Class Summary | |
---|---|
protected 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(java.lang.String name, WriterController controller)
|
void
|
writeClosure(ClosureExpression expression)
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Constructor Detail |
---|
public ClosureWriter(WriterController wc)
Method Detail |
---|
public boolean addGeneratedClosureConstructorCall(ConstructorCallExpression call)
protected ClassNode createClosureClass(ClosureExpression expression, int mods)
protected Parameter[] getClosureSharedVariables(ClosureExpression ce)
public ClassNode getOrAddClosureClass(ClosureExpression expression, int mods)
public static void loadReference(java.lang.String name, WriterController controller)
public void writeClosure(ClosureExpression expression)
Groovy Documentation