org.objectweb.asm.util
public abstract class AbstractVisitor extends Object
Field Summary | |
---|---|
protected StringBuffer | buf
A buffer that can be used to create strings. |
static String[] | OPCODES
The names of the Java Virtual Machine opcodes. |
List | text
The text to be printed. |
static String[] | TYPES
Types for operand parameter of the
{@link org.objectweb.asm.MethodVisitor#visitIntInsn} method when
opcode is NEWARRAY . |
Constructor Summary | |
---|---|
protected | AbstractVisitor()
Constructs a new {@link AbstractVisitor}. |
Method Summary | |
---|---|
static void | appendString(StringBuffer buf, String s)
Appends a quoted string to a given buffer.
|
static Attribute[] | getDefaultAttributes()
Returns the default {@link ASMifiable} prototypes.
|
List | getText()
Returns the text printed by this visitor.
|
operand
parameter of the
{@link org.objectweb.asm.MethodVisitor#visitIntInsn} method when
opcode
is NEWARRAY
.Parameters: buf the buffer where the string must be added. s the string to be added.
Returns: the default {@link ASMifiable} prototypes.
Returns: the text printed by this visitor.