| java.lang.Object org.drools.asm.util.AbstractVisitor org.drools.asm.util.ASMifierAbstractVisitor
All known Subclasses: org.drools.asm.util.ASMifierClassVisitor, org.drools.asm.util.ASMifierFieldVisitor, org.drools.asm.util.ASMifierMethodVisitor,
ASMifierAbstractVisitor | public class ASMifierAbstractVisitor extends AbstractVisitor (Code) | | An abstract ASMifier visitor.
author: Eric Bruneton |
labelNames | HashMap labelNames(Code) | | The label names. This map associates String values to Label keys. It is
used only in ASMifierMethodVisitor.
|
name | protected String name(Code) | | The name of the variable for this visitor in the produced code.
|
ASMifierAbstractVisitor | protected ASMifierAbstractVisitor(String name)(Code) | | Constructs a new
ASMifierAbstractVisitor .
Parameters: name - the name of the variable for this visitor in the producedcode. |
appendConstant | void appendConstant(Object cst)(Code) | | Appends a string representation of the given constant to the given
buffer.
Parameters: cst - an Integer, Float, Long,Double or String object. May be null. |
appendConstant | static void appendConstant(StringBuffer buf, Object cst)(Code) | | Appends a string representation of the given constant to the given
buffer.
Parameters: buf - a string buffer. Parameters: cst - an Integer, Float, Long,Double or String object. May be null. |
visitAnnotation | public AnnotationVisitor visitAnnotation(String desc, boolean visible)(Code) | | Prints the ASM code that generates the given annotation.
Parameters: desc - the class descriptor of the annotation class. Parameters: visible - true if the annotation is visible at runtime. a visitor to visit the annotation values. |
visitAttribute | public void visitAttribute(Attribute attr)(Code) | | Prints the ASM code that generates the given attribute.
Parameters: attr - an attribute. |
visitEnd | public void visitEnd()(Code) | | Prints the ASM code to end the visit.
|
|
|