public abstract class AbstractVisitor extends Object
Modifier and Type | Field and Description |
---|---|
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
org.objectweb.asm.MethodVisitor#visitIntInsn method when
opcode is NEWARRAY . |
Modifier | Constructor and Description |
---|---|
protected |
AbstractVisitor()
Constructs a new
AbstractVisitor . |
Modifier and Type | Method and Description |
---|---|
static void |
appendString(StringBuffer buf,
String s)
Appends a quoted string to a given buffer.
|
static Attribute[] |
getDefaultAttributes()
Returns the default
ASMifiable prototypes. |
List |
getText()
Returns the text constructed by this visitor.
|
void |
print(PrintWriter pw)
Prints the text constructed by this visitor.
|
public static final String[] OPCODES
public static final String[] TYPES
operand
parameter of the
org.objectweb.asm.MethodVisitor#visitIntInsn
method when
opcode
is NEWARRAY
.public final List text
protected final StringBuffer buf
protected AbstractVisitor()
AbstractVisitor
.public List getText()
public void print(PrintWriter pw)
pw
- the print writer to be used.public static void appendString(StringBuffer buf, 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.Copyright © 2013. All Rights Reserved.