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 void
addSpacing
(int count) private String
getMethodString
(CtMethod method) void
Prints all the methods declared in the given class.static void
print
(CtClass clazz, PrintStream stream) Prints all the methods declared in the given class.void
Prints the instructions and the frame states of the given method.private void
printLocals
(Frame frame) private void
printStack
(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)
-