Top Description Fields Constructors Methods
org.codehaus.groovy.classgen.asm

public Class BytecodeDumper

extends Object
implements BytecodeProcessor
Class Inheritance
All Implemented Interfaces
org.codehaus.groovy.control.BytecodeProcessor
Imports
org.codehaus.groovy.control.BytecodeProcessor, org.objectweb.asm.ClassReader, org.objectweb.asm.util.TraceClassVisitor, java.io.PrintWriter, .Writer

An utility class which can be used in test cases to dump generated bytecode.
Since
2.4.0

Field Summary

Modifier and TypeField and Description
private final Writer
public static final BytecodeDumper

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public byte[]
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

outback to summary
private final Writer out
STANDARD_ERRback to summary
public static final BytecodeDumper STANDARD_ERR

Constructor Detail

BytecodeDumperback to summary
public BytecodeDumper(final Writer out)

Method Detail

processBytecodeback to summary
public byte[] processBytecode(final String name, final byte[] original)

Implements org.codehaus.groovy.control.BytecodeProcessor.processBytecode.

Annotations
@Override