public interface AnnotatedInfo
extends org.jboss.util.JBossInterface
Modifier and Type | Method and Description |
---|---|
AnnotationValue |
getAnnotation(String name)
Get an annotation
|
AnnotationValue[] |
getAnnotations()
Get the annotations
|
<T extends Annotation> |
getUnderlyingAnnotation(Class<T> annotationType)
Get an underlying annotation
|
Annotation[] |
getUnderlyingAnnotations()
Get the underlying annotations
|
boolean |
isAnnotationPresent(Class<? extends Annotation> annotationType)
Test whether an annotation is present
|
boolean |
isAnnotationPresent(String name)
Test whether an annotation is present
|
AnnotationValue[] getAnnotations()
AnnotationValue getAnnotation(String name)
name
- the nameboolean isAnnotationPresent(String name)
name
- the nameAnnotation[] getUnderlyingAnnotations()
<T extends Annotation> T getUnderlyingAnnotation(Class<T> annotationType)
T
- the annotation typeannotationType
- the annotationTypeboolean isAnnotationPresent(Class<? extends Annotation> annotationType)
annotationType
- Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.