groovy / 4.0 / org / codehaus / groovy / control / compilationunit.classgencallback.html

[Java] Interface CompilationUnit.ClassgenCallback

@FunctionalInterface
public interface CompilationUnit.ClassgenCallback

A callback interface you can use during the classgen phase of compilation as the compiler 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-2022 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/4.0.0/html/gapi/org/codehaus/groovy/control/CompilationUnit.ClassgenCallback.html