public class AnnotationDescriptor extends 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(Class<? extends Annotation> annotationType) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsElement(String elementName) |
int |
numberOfElements() |
void |
setValue(String elementName,
Object value) |
Class<? extends Annotation> |
type() |
Object |
valueOf(String elementName) |
public AnnotationDescriptor(Class<? extends Annotation> annotationType)
Copyright © 2019 JBoss by Red Hat. All rights reserved.