public class ASMifierAbstractVisitor extends AbstractVisitor
| Modifier and Type | Field and Description |
|---|---|
protected String |
name
The name of the variable for this visitor in the produced code.
|
buf, OPCODES, text, TYPES| Modifier | Constructor and Description |
|---|---|
protected |
ASMifierAbstractVisitor(String name)
Constructs a new
ASMifierAbstractVisitor. |
| Modifier and Type | Method and Description |
|---|---|
AnnotationVisitor |
visitAnnotation(String desc,
boolean visible)
Prints the ASM code that generates the given annotation.
|
void |
visitAttribute(Attribute attr)
Prints the ASM code that generates the given attribute.
|
void |
visitEnd()
Prints the ASM code to end the visit.
|
appendString, getDefaultAttributes, getText, printprotected String name
protected ASMifierAbstractVisitor(String name)
ASMifierAbstractVisitor.name - the name of the variable for this visitor in the produced
code.public AnnotationVisitor visitAnnotation(String desc, boolean visible)
desc - the class descriptor of the annotation class.visible - true if the annotation is visible at runtime.public void visitAttribute(Attribute attr)
attr - an attribute.public void visitEnd()
Copyright © 2018. All rights reserved.