org.objectweb.asm.util
Class ASMifierAbstractVisitor
public class ASMifierAbstractVisitor
An abstract ASMifier visitor.
- Eric Bruneton
protected String | name - The name of the variable for this visitor in the produced code.
|
name
protected String name
The name of the variable for this visitor in the produced code.
ASMifierAbstractVisitor
protected ASMifierAbstractVisitor(String name)
name
- the name of the variable for this visitor in the produced code.
visitAnnotation
public AnnotationVisitor visitAnnotation(String desc,
boolean visible)
Prints the ASM code that generates the given annotation.
desc
- the class descriptor of the annotation class.visible
- true if the annotation is visible at runtime.
- a visitor to visit the annotation values.
visitAttribute
public void visitAttribute(Attribute attr)
Prints the ASM code that generates the given attribute.
attr
- an attribute.
visitEnd
public void visitEnd()
Prints the ASM code to end the visit.