|
||||||||||
| 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.AbstractAnnotatedInfo
org.jboss.reflect.plugins.AnnotationHolder
public class AnnotationHolder
An annotation holder
| Field Summary | |
|---|---|
protected HashMap<String,AnnotationValue> |
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.reflect.plugins.AbstractAnnotatedInfo |
|---|
getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent |
| 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<String,AnnotationValue> annotationMap
| Constructor Detail |
|---|
public AnnotationHolder()
public AnnotationHolder(AnnotationValue[] annotations)
annotations - the annotations| Method Detail |
|---|
public AnnotationValue[] getAnnotations()
AnnotatedInfo
public AnnotationValue getAnnotation(String name)
AnnotatedInfo
name - the name
public boolean isAnnotationPresent(String name)
AnnotatedInfo
name - 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 | |||||||||