Package org.codehaus.groovy.control
Interface BytecodeProcessor
- All Known Implementing Classes:
BytecodeDumper
public interface BytecodeProcessor
Post-processes generated class bytes before they are written out.
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]processBytecode(String name, byte[] original) Transforms the bytecode for a generated class.
-
Method Details
-
processBytecode
Transforms the bytecode for a generated class.- Parameters:
name- the class nameoriginal- the original class bytes- Returns:
- the processed class bytes
-