Class DummyClassGenerator

  • All Implemented Interfaces:
    GroovyClassVisitor, GroovyCodeVisitor, org.objectweb.asm.Opcodes

    public class DummyClassGenerator
    extends ClassGenerator
    To generate a class that has all the fields and methods, except that fields are not initialized and methods are empty. It's intended for being used as a place holder during code generation of reference to the "this" class itself.
    Author:
    James Strachan, Bing Ran