|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.util.JBossObject
org.jboss.reflect.plugins.InheritableAnnotationHolder
An annotation holder
| Field Summary | |
protected HashMap |
allAnnotations
All annotations Map |
protected AnnotationValue[] |
allAnnotationsArray
All annotations |
protected HashMap |
declaredAnnotations
Declared annotations Map |
protected AnnotationValue[] |
declaredAnnotationsArray
Declared annotations |
protected InheritableAnnotationHolder |
superHolder
The super holder of annotations |
| Fields inherited from class org.jboss.util.JBossObject |
hashCode, log, toString |
| Constructor Summary | |
InheritableAnnotationHolder()
Create a new InheritableAnnotationHolder. |
|
| Method Summary | |
AnnotationValue |
getAnnotation(String name)
Get an annotation |
AnnotationValue[] |
getAnnotations()
Get the annotations |
AnnotationValue[] |
getDeclaredAnnotations()
Get the declared annotations |
boolean |
isAnnotationPresent(String name)
Test whether an annotation is present |
void |
setupAnnotations(AnnotationValue[] annotations)
Set up the annotations |
| Methods inherited from class org.jboss.util.JBossObject |
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, hashCode, list, notEqual, toShortString, toShortString, toString, toString, toStringImplementation |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jboss.util.JBossInterface |
clone, toShortString, toShortString |
| Field Detail |
protected HashMap declaredAnnotations
protected HashMap allAnnotations
protected AnnotationValue[] allAnnotationsArray
protected AnnotationValue[] declaredAnnotationsArray
protected InheritableAnnotationHolder superHolder
| Constructor Detail |
public InheritableAnnotationHolder()
| Method Detail |
public AnnotationValue[] getDeclaredAnnotations()
public AnnotationValue[] getAnnotations()
AnnotatedInfo
getAnnotations in interface AnnotatedInfopublic AnnotationValue getAnnotation(String name)
AnnotatedInfo
getAnnotation in interface AnnotatedInfoname - the name
public boolean isAnnotationPresent(String name)
AnnotatedInfo
isAnnotationPresent in interface AnnotatedInfoname - the name
public void setupAnnotations(AnnotationValue[] annotations)
annotations - the annotations
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||