Class CompilationUnit.ClassgenCallback

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

    public abstract static class CompilationUnit.ClassgenCallback
    extends java.lang.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.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract void call​(org.objectweb.asm.ClassVisitor writer, ClassNode node)  
      • Methods inherited from class java.lang.Object

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