|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tc.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 constructed by this visitor. |
void |
print(java.io.PrintWriter pw)
Prints the text constructed by this visitor. |
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 void print(java.io.PrintWriter pw)
pw
- the print writer to be used.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.public static Attribute[] getDefaultAttributes()
ASMifiable
prototypes.
ASMifiable
prototypes.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |