Package org.codehaus.groovy.tools
Class DgmConverter
java.lang.Object
org.codehaus.groovy.tools.DgmConverter
Generates
GeneratedMetaMethod adapter classes and metadata for the
default Groovy methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static voidloadParameters(CachedMethod method, org.objectweb.asm.MethodVisitor mv) Loads and casts the non-receiver arguments for the supplied cached method from anObject[]local variable.static voidGenerates DGM adapter classes into the target directory.
-
Constructor Details
-
DgmConverter
public DgmConverter()
-
-
Method Details
-
main
Generates DGM adapter classes into the target directory.- Parameters:
args- optional--infoflag and target directory- Throws:
IOException- if generated classes or metadata cannot be written
-
loadParameters
Loads and casts the non-receiver arguments for the supplied cached method from anObject[]local variable.- Parameters:
method- the cached method whose parameters are being loadedmv- the visitor receiving the bytecode instructions
-