W3cubDocs

/Groovy 3.0

[Java] Interface CompilationUnit.ClassgenCallback

@FunctionalInterface
public interface CompilationUnit.ClassgenCallback

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.

Methods Summary

Methods
Type Params Return Type Name and description
public void call(org.objectweb.asm.ClassVisitor writer, ClassNode node)

Method Detail

public void call(org.objectweb.asm.ClassVisitor writer, ClassNode node)

© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/control/CompilationUnit.ClassgenCallback.html