public class ModAnnotationVisitor
extends org.objectweb.asm.AnnotationVisitor
| コンストラクタと説明 |
|---|
ModAnnotationVisitor(java.util.LinkedList<ModAnnotation> annotations,
ModAnnotation annotation) |
ModAnnotationVisitor(java.util.LinkedList<ModAnnotation> annotations,
ModAnnotation annotation,
boolean isSubAnnotation) |
ModAnnotationVisitor(java.util.LinkedList<ModAnnotation> annotations,
ModAnnotation annotation,
java.lang.String name) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
visit(java.lang.String key,
java.lang.Object value)
Visits a primitive value of the annotation.
|
org.objectweb.asm.AnnotationVisitor |
visitAnnotation(java.lang.String name,
java.lang.String desc)
Visits a nested annotation value of the annotation.
|
org.objectweb.asm.AnnotationVisitor |
visitArray(java.lang.String name)
Visits an array value of the annotation.
|
void |
visitEnd()
Visits the end of the annotation.
|
void |
visitEnum(java.lang.String name,
java.lang.String desc,
java.lang.String value)
Visits an enumeration value of the annotation.
|
public ModAnnotationVisitor(java.util.LinkedList<ModAnnotation> annotations, ModAnnotation annotation)
public ModAnnotationVisitor(java.util.LinkedList<ModAnnotation> annotations, ModAnnotation annotation, java.lang.String name)
public ModAnnotationVisitor(java.util.LinkedList<ModAnnotation> annotations, ModAnnotation annotation, boolean isSubAnnotation)
public void visit(java.lang.String key,
java.lang.Object value)
org.objectweb.asm.AnnotationVisitorvisit クラス内 org.objectweb.asm.AnnotationVisitorkey - the value name.value - the actual value, whose type must be Byte,
Boolean, Character, Short,
Integer , Long, Float, Double,
String or Type of OBJECT or ARRAY sort. 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(java.lang.String name,
java.lang.String desc,
java.lang.String value)
org.objectweb.asm.AnnotationVisitorvisitEnum クラス内 org.objectweb.asm.AnnotationVisitorname - the value name.desc - the class descriptor of the enumeration class.value - the actual enumeration value.public org.objectweb.asm.AnnotationVisitor visitArray(java.lang.String name)
org.objectweb.asm.AnnotationVisitorvisit. This is what
ClassReader does.visitArray クラス内 org.objectweb.asm.AnnotationVisitorname - the value name.public org.objectweb.asm.AnnotationVisitor visitAnnotation(java.lang.String name,
java.lang.String desc)
org.objectweb.asm.AnnotationVisitorvisitAnnotation クラス内 org.objectweb.asm.AnnotationVisitorname - the value name.desc - the class descriptor of the nested annotation class.public void visitEnd()
org.objectweb.asm.AnnotationVisitorvisitEnd クラス内 org.objectweb.asm.AnnotationVisitor