public class AnnotationValue
extends java.lang.Object
| Constructor and Description | 
|---|
| AnnotationValue(ClassDescriptor annotationClass)Constructor. | 
| AnnotationValue(java.lang.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. | 
| java.lang.Object | getDesc(java.lang.String name)Get a descriptor specifying the type of an annotation element. | 
| java.lang.Object | getValue(java.lang.String name)Get the value of given annotation element. | 
| java.lang.String | toString() | 
public AnnotationValue(ClassDescriptor annotationClass)
annotationClass - the annotation classpublic AnnotationValue(java.lang.String annotationClass)
annotationClass - JVM signature of the annotation classpublic ClassDescriptor getAnnotationClass()
public java.lang.Object getValue(java.lang.String name)
name - name of annotation elementpublic java.lang.Object getDesc(java.lang.String name)
name - name of annotation elementpublic java.lang.String toString()
toString in class java.lang.Objectpublic org.objectweb.asm.AnnotationVisitor getAnnotationVisitor()
SpotBugs is licensed under the LGPL.