|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.eclipse.jetty.annotations.AnnotationParser.MyAnnotationVisitor
public class AnnotationParser.MyAnnotationVisitor
MyAnnotationVisitor ASM Visitor for Annotations
| 构造方法摘要 | |
|---|---|
AnnotationParser.MyAnnotationVisitor(String annotationName,
List<AnnotationParser.Value> values)
|
|
| 方法摘要 | |
|---|---|
List<AnnotationParser.Value> |
getAnnotationValues()
|
void |
visit(String aname,
Object avalue)
Visit a single-valued (name,value) pair for this annotation |
AnnotationVisitor |
visitAnnotation(String name,
String desc)
Visit a (name,value) pair whose value is another Annotation |
AnnotationVisitor |
visitArray(String name)
Visit an array valued (name, value) pair for this annotation |
void |
visitEnd()
Visits the end of the annotation. |
void |
visitEnum(String name,
String desc,
String value)
Visit a enum-valued (name,value) pair for this annotation |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public AnnotationParser.MyAnnotationVisitor(String annotationName,
List<AnnotationParser.Value> values)
| 方法详细信息 |
|---|
public List<AnnotationParser.Value> getAnnotationValues()
public void visit(String aname,
Object avalue)
AnnotationVisitor 中的 visitaname - the value name.avalue - 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).AnnotationVisitor.visit(java.lang.String, java.lang.Object)
public AnnotationVisitor visitAnnotation(String name,
String desc)
AnnotationVisitor 中的 visitAnnotationname - the value name.desc - the class descriptor of the nested annotation class.
AnnotationVisitor.visitAnnotation(java.lang.String, java.lang.String)public AnnotationVisitor visitArray(String name)
AnnotationVisitor 中的 visitArrayname - the value name.
AnnotationVisitor.visitArray(java.lang.String)
public void visitEnum(String name,
String desc,
String value)
AnnotationVisitor 中的 visitEnumname - the value name.desc - the class descriptor of the enumeration class.value - the actual enumeration value.AnnotationVisitor.visitEnum(java.lang.String, java.lang.String, java.lang.String)public void visitEnd()
AnnotationVisitor 复制的描述
AnnotationVisitor 中的 visitEnd
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||