Class CompilationUnit.ClassgenCallback

  • Direct Known Subclasses:
    GroovyClassLoader.ClassCollector
    Enclosing class:
    CompilationUnit

    public abstract static class CompilationUnit.ClassgenCallback
    extends Object
    A callback interface you can use to "accompany" the classgen() code as it traverses the ClassNode tree. You will be called-back for each primary and inner class. Use setClassgenCallback() before running compile() to set your callback.