|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.objectweb.asm.util.AbstractVisitor
org.objectweb.asm.util.TraceAbstractVisitor
org.objectweb.asm.util.TraceAnnotationVisitor
public class TraceAnnotationVisitor
An AnnotationVisitor that prints a disassembled view of the
annotations it visits.
| 字段摘要 | |
|---|---|
protected AnnotationVisitor |
av
The AnnotationVisitor to which this visitor delegates calls. |
| 从类 org.objectweb.asm.util.TraceAbstractVisitor 继承的字段 |
|---|
CLASS_DECLARATION, CLASS_SIGNATURE, FIELD_DESCRIPTOR, FIELD_SIGNATURE, INTERNAL_NAME, METHOD_DESCRIPTOR, METHOD_SIGNATURE, PARAMETERS_DECLARATION, tab, TYPE_DECLARATION |
| 从类 org.objectweb.asm.util.AbstractVisitor 继承的字段 |
|---|
buf, OPCODES, text, TYPES |
| 构造方法摘要 | |
|---|---|
TraceAnnotationVisitor()
Constructs a new TraceAnnotationVisitor. |
|
| 方法摘要 | |
|---|---|
void |
visit(String name,
Object value)
Visits a primitive value of the annotation. |
AnnotationVisitor |
visitAnnotation(String name,
String desc)
Visits a nested annotation value of the annotation. |
AnnotationVisitor |
visitArray(String name)
Visits an array value of the annotation. |
void |
visitEnd()
Does nothing. |
void |
visitEnum(String name,
String desc,
String value)
Visits an enumeration value of the annotation. |
| 从类 org.objectweb.asm.util.TraceAbstractVisitor 继承的方法 |
|---|
appendDescriptor, createTraceAnnotationVisitor, visitAnnotation, visitAttribute |
| 从类 org.objectweb.asm.util.AbstractVisitor 继承的方法 |
|---|
appendString, getDefaultAttributes, getText, print |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 字段详细信息 |
|---|
protected AnnotationVisitor av
AnnotationVisitor to which this visitor delegates calls. May
be null.
| 构造方法详细信息 |
|---|
public TraceAnnotationVisitor()
TraceAnnotationVisitor.
| 方法详细信息 |
|---|
public void visit(String name,
Object value)
AnnotationVisitor 复制的描述
AnnotationVisitor 中的 visitname - the value name.value - the actual value, whose type must be Byte,
Boolean, Character, Short,
Integer, Long, Float, Double,
String or Type. This value can also be an array
of byte, boolean, short, char, int, long, float or double values
(this is equivalent to using visitArray and
visiting each array element in turn, but is more convenient).
public void visitEnum(String name,
String desc,
String value)
AnnotationVisitor 复制的描述
AnnotationVisitor 中的 visitEnumname - the value name.desc - the class descriptor of the enumeration class.value - the actual enumeration value.
public AnnotationVisitor visitAnnotation(String name,
String desc)
AnnotationVisitor 复制的描述
AnnotationVisitor 中的 visitAnnotationname - the value name.desc - the class descriptor of the nested annotation class.
public AnnotationVisitor visitArray(String name)
AnnotationVisitor 复制的描述visit. This is what
ClassReader does.
AnnotationVisitor 中的 visitArrayname - the value name.
public void visitEnd()
TraceAbstractVisitor 复制的描述
AnnotationVisitor 中的 visitEndTraceAbstractVisitor 中的 visitEnd
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||