public interface AnnotationValue extends Value
Modifier and Type | Method and Description |
---|---|
AnnotationInfo |
getAnnotationType()
Get the annotation type
|
Annotation |
getUnderlyingAnnotation()
Get the underlying annotation
|
<T extends Annotation> |
getUnderlyingAnnotation(Class<T> annotationType)
Get the underlying annotation
|
Value |
getValue(String attributeName)
Get an attribute value
|
Map<String,Value> |
getValues()
Get the values
|
asAnnotation, asArray, asClass, asEnum, asPrimitive, asString, getType, isAnnotation, isArray, isClass, isEnum, isPrimitive, isString
AnnotationInfo getAnnotationType()
Value getValue(String attributeName)
attributeName
- the attribute nameAnnotation getUnderlyingAnnotation()
<T extends Annotation> T getUnderlyingAnnotation(Class<T> annotationType)
T
- the annotation typeannotationType
- the annotationTypeCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.