public class AnnotationDescriptor
extends java.lang.Object
Annotation
instance
and the values of its elements.
The "elements" we're talking about are the annotation attributes,
not its targets (the term "element" is used ambiguously
in Java's annotations documentation).Constructor and Description |
---|
AnnotationDescriptor(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsElement(java.lang.String elementName) |
int |
numberOfElements() |
void |
setValue(java.lang.String elementName,
java.lang.Object value) |
java.lang.Class<? extends java.lang.annotation.Annotation> |
type() |
java.lang.Object |
valueOf(java.lang.String elementName) |
public AnnotationDescriptor(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
public void setValue(java.lang.String elementName, java.lang.Object value)
public java.lang.Object valueOf(java.lang.String elementName)
public boolean containsElement(java.lang.String elementName)
public int numberOfElements()
public java.lang.Class<? extends java.lang.annotation.Annotation> type()