|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jcoderz.commons.tracing.AsmUtil
public final class AsmUtil
Utility classes around the ASM package. See http://asm.objectweb.org/
| Field Summary | |
|---|---|
static int |
MAX_BIPUSH
Maximum value that can be set using the Opcodes.BIPUSH. |
static int |
MAX_ICONST
Maximum value that can be set using the Opcodes.ICONST_0. |
static int |
MAX_SIPUSH
Maximum value that can be set using the Opcodes.SIPUSH. |
| Method Summary | |
|---|---|
static void |
loadConstant(InsnList cmd,
int i)
Add a command to the stack that loads the given integer constant. |
static String |
toString(ClassNode classNode)
Human readable name of the class. |
static String |
toString(ClassNode cn,
MethodNode mn)
Human readable name of the method. |
static String |
toString(int access)
Returns a string representation containing the access keywords implied by the given int. |
static String |
toString(LocalVariableNode node)
Human readable name of the local variable. |
static String |
toString(MethodNode mn)
To string helper to get nice comments about the MethodNode. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int MAX_ICONST
public static final int MAX_BIPUSH
public static final int MAX_SIPUSH
| Method Detail |
|---|
public static void loadConstant(InsnList cmd,
int i)
cmd - the command list where to add the command.i - the value to be loaded.public static String toString(MethodNode mn)
mn - the method node.
public static String toString(ClassNode classNode)
classNode - the asm class node.
public static String toString(ClassNode cn,
MethodNode mn)
cn - the asm class node.mn - the asm method node.
public static String toString(LocalVariableNode node)
node - the asm local variable node.
public static String toString(int access)
Opcodes ACC* for the
values.
access - the int value holding the access bits. See
Opcodes ACC* for the values.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||