Top Description Fields Constructors Methods
javassist.bytecode.analysis

public final Class FramePrinter

extends Object
Class Inheritance
Imports
java.io.PrintStream, javassist.CtClass, .CtMethod, .Modifier, .NotFoundException, javassist.bytecode.BadBytecode, .CodeAttribute, .CodeIterator, .ConstPool, .Descriptor, .InstructionPrinter, .MethodInfo

A utility class for printing a merged view of the frame state and the instructions of a method.
Author
Jason T. Greene

Field Summary

Modifier and TypeField and Description
private final PrintStream

Constructor Summary

AccessConstructor and Description
public
FramePrinter(PrintStream stream)

Constructs a bytecode printer.

Method Summary

Modifier and TypeMethod and Description
private void
addSpacing(int count)

private String
private void
private void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

streamback to summary
private final PrintStream stream

Constructor Detail

FramePrinterback to summary
public FramePrinter(PrintStream stream)

Constructs a bytecode printer.

Method Detail

addSpacingback to summary
private void addSpacing(int count)
getMethodStringback to summary
private String getMethodString(CtMethod method)
printLocalsback to summary
private void printLocals(Frame frame)
printStackback to summary
private void printStack(Frame frame)