|
||||||||||
| 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.InheritableAnnotationHolder
public abstract class InheritableAnnotationHolder
An annotation holder
| Field Summary | |
|---|---|
protected Map<String,AnnotationValue> |
allAnnotations
All annotations Map |
protected AnnotationValue[] |
allAnnotationsArray
All annotations |
protected Object |
annotatedElement
The annotated element |
protected AnnotationHelper |
annotationHelper
The annotation helper |
protected Map<String,AnnotationValue> |
declaredAnnotations
Declared annotations Map |
protected AnnotationValue[] |
declaredAnnotationsArray
Declared annotations |
| Fields inherited from class org.jboss.util.JBossObject |
|---|
hashCode, log, toString |
| Constructor Summary | |
|---|---|
InheritableAnnotationHolder()
Create a new InheritableAnnotationHolder. |
|
| Method Summary | |
|---|---|
protected Map<String,AnnotationValue> |
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 |
setAnnotationHelper(AnnotationHelper annotationHelper)
|
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 Map<String,AnnotationValue> declaredAnnotations
protected Map<String,AnnotationValue> allAnnotations
protected AnnotationValue[] allAnnotationsArray
protected AnnotationValue[] declaredAnnotationsArray
protected Object annotatedElement
protected transient AnnotationHelper annotationHelper
| Constructor Detail |
|---|
public InheritableAnnotationHolder()
| Method Detail |
|---|
public void setAnnotatedElement(Object annotatedElement)
public void setAnnotationHelper(AnnotationHelper annotationHelper)
public AnnotationValue[] getDeclaredAnnotations()
public AnnotationValue[] getAnnotations()
AnnotatedInfo
public AnnotationValue getAnnotation(String name)
AnnotatedInfo
name - the name
public boolean isAnnotationPresent(String name)
AnnotatedInfo
name - the name
public void setupAnnotations(AnnotationValue[] annotations)
annotations - the annotationsprotected Map<String,AnnotationValue> getAllAnnotations()
protected abstract InheritableAnnotationHolder getSuperHolder()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||