Package org.codehaus.groovy.tools

# Class DgmConverter

java.lang.Object
org.codehaus.groovy.tools.DgmConverter

public class DgmConverter extends Object
Generates `GeneratedMetaMethod` adapter classes and metadata for the default Groovy methods.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DgmConverter()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected static void`
  `loadParameters(CachedMethod method, org.objectweb.asm.MethodVisitor mv)`
  Loads and casts the non-receiver arguments for the supplied cached method from an `Object[]` local variable.
  `static void`
  `main(String[] args)`
  Generates DGM adapter classes into the target directory.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### DgmConverter

    public DgmConverter()

- ## Method Details

  - ### main

    public static void main(String[] args) throws IOException
    Generates DGM adapter classes into the target directory.
    Parameters:
      `args` - optional `--info` flag and target directory
    Throws:
      `IOException` - if generated classes or metadata cannot be written

  - ### loadParameters

    protected static void loadParameters(CachedMethod method, org.objectweb.asm.MethodVisitor mv)
    Loads and casts the non-receiver arguments for the supplied cached method from an `Object[]` local variable.
    Parameters:
      `method` - the cached method whose parameters are being loaded
      `mv` - the visitor receiving the bytecode instructions