[Java] Class StaticTypesClosureWriter
- org.codehaus.groovy.classgen.asm.sc.StaticTypesClosureWriter
Writer responsible for generating closure classes in statically compiled mode.
- Authors:
- Cedric Champeau
Constructor Summary
Constructor and description |
---|
StaticTypesClosureWriter
(WriterController wc) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
protected ClassNode |
createClosureClass(ClosureExpression expression, int mods) |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class ClosureWriter | addGeneratedClosureConstructorCall, createClosureClass, getClosureSharedVariables, getOrAddClosureClass, loadReference, writeClosure |
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Constructor Detail
public StaticTypesClosureWriter(WriterController wc)
Method Detail
@Override protected ClassNode createClosureClass(ClosureExpression expression, int mods)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.4.21/html/gapi/org/codehaus/groovy/classgen/asm/sc/StaticTypesClosureWriter.html