public abstract class AbstractVisitor
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
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. |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractVisitor()
Constructs a new
AbstractVisitor. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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
protected AbstractVisitor()
AbstractVisitor.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.Copyright © 2013 Oracle Corporation. All Rights Reserved.