|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.objectweb.asm.util.AbstractVisitor
public abstract class AbstractVisitor
An abstract visitor.
| Field Summary | |
|---|---|
protected java.lang.StringBuffer |
buf
A buffer that can be used to create strings. |
static java.lang.String[] |
OPCODES
The names of the Java Virtual Machine opcodes. |
java.util.List |
text
The text to be printed. |
static java.lang.String[] |
TYPES
Types for operand parameter of the
MethodVisitor.visitIntInsn(int, int) method when
opcode is NEWARRAY. |
| Constructor Summary | |
|---|---|
protected |
AbstractVisitor()
Constructs a new AbstractVisitor. |
| Method Summary | |
|---|---|
static void |
appendString(java.lang.StringBuffer buf,
java.lang.String s)
Appends a quoted string to a given buffer. |
static Attribute[] |
getDefaultAttributes()
Returns the default ASMifiable prototypes. |
java.util.List |
getText()
Returns the text printed by this visitor. |
(package private) void |
printList(java.io.PrintWriter pw,
java.util.List l)
Prints the given string tree. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String[] OPCODES
public static final java.lang.String[] TYPES
operand parameter of the
MethodVisitor.visitIntInsn(int, int) method when
opcode is NEWARRAY.
public final java.util.List text
protected final java.lang.StringBuffer buf
| Constructor Detail |
|---|
protected AbstractVisitor()
AbstractVisitor.
| Method Detail |
|---|
public java.util.List getText()
public static void appendString(java.lang.StringBuffer buf,
java.lang.String s)
buf - the buffer where the string must be added.s - the string to be added.
void printList(java.io.PrintWriter pw,
java.util.List l)
pw - the writer to be used to print the tree.l - a string tree, i.e., a string list that can contain other string
lists, and so on recursively.public static Attribute[] getDefaultAttributes()
ASMifiable prototypes.
ASMifiable prototypes.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||