Class ContractClosureWriter
java.lang.Object
org.apache.groovy.contracts.classgen.asm.ContractClosureWriter
Replaces annotation closures with closure implementation classes.
Attention: large parts of this class have been backported from Groovy 1.8 and customized for usage in groovy-contracts.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateClosureClass
(ClassNode classNode, MethodNode methodNode, ClosureExpression expression, boolean addOldVariable, boolean addResultVariable, int mods)
-
Constructor Details
-
ContractClosureWriter
public ContractClosureWriter()
-
-
Method Details
-
createClosureClass
public ClassNode createClosureClass(ClassNode classNode, MethodNode methodNode, ClosureExpression expression, boolean addOldVariable, boolean addResultVariable, int mods)
-