|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavassist.bytecode.InstructionPrinter
public class InstructionPrinter
Simple utility class for printing the bytecode instructions of a method.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
InstructionPrinter(java.io.PrintStream stream)
Constructs a InstructionPrinter object. |
|
| Method Summary | |
|---|---|
static java.lang.String |
instructionString(CodeIterator iter,
int pos,
ConstPool pool)
Gets a string representation of the bytecode instruction at the specified position. |
void |
print(CtMethod method)
Prints the bytecode instructions of a given method. |
static void |
print(CtMethod method,
java.io.PrintStream stream)
Prints the bytecode instructions of a given method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InstructionPrinter(java.io.PrintStream stream)
InstructionPrinter object.
| Method Detail |
|---|
public static void print(CtMethod method,
java.io.PrintStream stream)
public void print(CtMethod method)
public static java.lang.String instructionString(CodeIterator iter,
int pos,
ConstPool pool)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||