Package javassist.bytecode.analysis
Class FramePrinter
java.lang.Object
javassist.bytecode.analysis.FramePrinter
A utility class for printing a merged view of the frame state and the
instructions of a method.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddSpacing(int count) private StringgetMethodString(CtMethod method) voidPrints all the methods declared in the given class.static voidprint(CtClass clazz, PrintStream stream) Prints all the methods declared in the given class.voidPrints the instructions and the frame states of the given method.private voidprintLocals(Frame frame) private voidprintStack(Frame frame)
-
Field Details
-
stream
-
-
Constructor Details
-
FramePrinter
Constructs a bytecode printer.
-
-
Method Details
-
print
Prints all the methods declared in the given class. -
print
Prints all the methods declared in the given class. -
getMethodString
-
print
Prints the instructions and the frame states of the given method. -
printStack
-
printLocals
-
addSpacing
private void addSpacing(int count)
-