public abstract class AbstractAnnotatedInfo extends org.jboss.util.JBossObject implements AnnotatedInfo, Serializable
Constructor and Description |
---|
AbstractAnnotatedInfo()
Create a new annotated info
|
Modifier and Type | Method and Description |
---|---|
<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
|
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, hashCode, list, notEqual, toShortString, toShortString, toString, toString, toStringImplementation
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
getAnnotation, getAnnotations, isAnnotationPresent
public <T extends Annotation> T getUnderlyingAnnotation(Class<T> annotationType)
AnnotatedInfo
getUnderlyingAnnotation
in interface AnnotatedInfo
T
- the annotation typeannotationType
- the annotationTypepublic Annotation[] getUnderlyingAnnotations()
AnnotatedInfo
getUnderlyingAnnotations
in interface AnnotatedInfo
public boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
AnnotatedInfo
isAnnotationPresent
in interface AnnotatedInfo
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.