public class AnnotationValue extends Object
| Constructor and Description |
|---|
AnnotationValue(ClassDescriptor annotationClass)
Constructor.
|
AnnotationValue(String annotationClass)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ClassDescriptor |
getAnnotationClass() |
org.objectweb.asm.AnnotationVisitor |
getAnnotationVisitor()
Get an AnnotationVisitor which can populate this AnnotationValue object.
|
Object |
getDesc(String name)
Get a descriptor specifying the type of an annotation element.
|
Object |
getValue(String name)
Get the value of given annotation element.
|
String |
toString() |
public AnnotationValue(ClassDescriptor annotationClass)
annotationClass - the annotation classpublic AnnotationValue(String annotationClass)
annotationClass - JVM signature of the annotation classpublic ClassDescriptor getAnnotationClass()
public Object getValue(String name)
name - name of annotation elementpublic Object getDesc(String name)
name - name of annotation elementpublic org.objectweb.asm.AnnotationVisitor getAnnotationVisitor()
Copyright © 2003–2015. All rights reserved.