|
||||||||||
| 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
public abstract class InheritableAnnotationHolder
An annotation holder
| Field Summary | |
|---|---|
protected Map |
allAnnotations
All annotations Map |
protected AnnotationValue[] |
allAnnotationsArray
All annotations |
protected Object |
annotatedElement
The annotated element |
protected Map |
declaredAnnotations
Declared annotations Map |
protected AnnotationValue[] |
declaredAnnotationsArray
Declared annotations |
protected IntrospectionTypeInfoFactoryImpl |
typeInfoFactory
The typeinfo factory |
| Fields inherited from class org.jboss.util.JBossObject |
|---|
hashCode, log, toString |
| Constructor Summary | |
|---|---|
InheritableAnnotationHolder()
Create a new InheritableAnnotationHolder. |
|
| Method Summary | |
|---|---|
protected Map |
getAllAnnotations()
Get all the annotations as a map |
AnnotationValue |
getAnnotation(String name)
Get an annotation |
AnnotationValue[] |
getAnnotations()
Get the annotations |
AnnotationValue[] |
getDeclaredAnnotations()
Get the declared annotations |
protected abstract InheritableAnnotationHolder |
getSuperHolder()
Get the super holder of annoations |
boolean |
isAnnotationPresent(String name)
Test whether an annotation is present |
void |
setAnnotatedElement(Object annotatedElement)
|
void |
setTypeInfoFactory(IntrospectionTypeInfoFactoryImpl typeInfoFactory)
Set the typeinfo factory |
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 Map declaredAnnotations
protected Map allAnnotations
protected AnnotationValue[] allAnnotationsArray
protected AnnotationValue[] declaredAnnotationsArray
protected Object annotatedElement
protected IntrospectionTypeInfoFactoryImpl typeInfoFactory
| Constructor Detail |
|---|
public InheritableAnnotationHolder()
| Method Detail |
|---|
public void setTypeInfoFactory(IntrospectionTypeInfoFactoryImpl typeInfoFactory)
typeInfoFactory - the typeinfo factorypublic void setAnnotatedElement(Object annotatedElement)
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 annotationsprotected Map getAllAnnotations()
protected abstract InheritableAnnotationHolder getSuperHolder()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||