|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.drools.asm.util.AbstractVisitor
public abstract class AbstractVisitor
An abstract visitor.
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
MethodVisitor.visitIntInsn(int, int) method when
opcode is NEWARRAY . |
Constructor Summary | |
---|---|
protected |
AbstractVisitor()
Constructs a new AbstractVisitor . |
Method Summary | |
---|---|
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 printed 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 String[] OPCODES
public static final String[] TYPES
operand
parameter of the
MethodVisitor.visitIntInsn(int, int)
method when
opcode
is NEWARRAY
.
public final List text
protected final StringBuffer buf
Constructor Detail |
---|
protected AbstractVisitor()
AbstractVisitor
.
Method Detail |
---|
public List getText()
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |