|
|||||||||||
| 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.AnnotationHolder
An annotation holder
| Field Summary | |
protected HashMap |
annotationMap
Annotations map Map |
protected AnnotationValue[] |
annotationsArray
The annotations |
| Fields inherited from class org.jboss.util.JBossObject |
hashCode, log, toString |
| Constructor Summary | |
AnnotationHolder()
Create a new annotation holder |
|
AnnotationHolder(AnnotationValue[] annotations)
Create a new AnnotationHolder. |
|
| Method Summary | |
AnnotationValue |
getAnnotation(String name)
Get an annotation |
AnnotationValue[] |
getAnnotations()
Get the annotations |
boolean |
isAnnotationPresent(String name)
Test whether an annotation is present |
protected 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 AnnotationValue[] annotationsArray
protected HashMap annotationMap
| Constructor Detail |
public AnnotationHolder()
public AnnotationHolder(AnnotationValue[] annotations)
annotations - the annotations| Method Detail |
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
protected void setupAnnotations(AnnotationValue[] annotations)
annotations - the annotations
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||