public abstract class JavassistInheritableAnnotationHolder extends JavassistAnnotatedInfo
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,AnnotationValue> |
allAnnotations
All annotations Map
|
protected AnnotationValue[] |
allAnnotationsArray
All annotations
|
protected javassist.CtClass |
ctClass |
annotationHelper, annotationMap, annotationsArray| Constructor and Description |
|---|
JavassistInheritableAnnotationHolder(javassist.CtClass ctClass,
AnnotationHelper annotationHelper) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,AnnotationValue> |
getAllAnnotations()
Get all the annotations as a map
|
AnnotationValue |
getAnnotation(String name)
Get an annotation
|
AnnotationValue[] |
getAnnotations()
Get the annotations
|
protected AnnotationValue[] |
getAnnotations(Object obj) |
abstract JavassistInheritableAnnotationHolder |
getSuperHolder() |
boolean |
isAnnotationPresent(String name)
Test whether an annotation is present
|
void |
setupAnnotations(AnnotationValue[] annotations)
Set up the annotations
|
getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresentcacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, hashCode, list, notEqual, toShortString, toShortString, toString, toString, toStringImplementationprotected Map<String,AnnotationValue> allAnnotations
protected AnnotationValue[] allAnnotationsArray
protected javassist.CtClass ctClass
public JavassistInheritableAnnotationHolder(javassist.CtClass ctClass,
AnnotationHelper annotationHelper)
public AnnotationValue[] getAnnotations()
AnnotatedInfoprotected AnnotationValue[] getAnnotations(Object obj)
getAnnotations in class JavassistAnnotatedInfopublic AnnotationValue getAnnotation(String name)
AnnotatedInfogetAnnotation in interface AnnotatedInfogetAnnotation in class JavassistAnnotatedInfoname - the namepublic boolean isAnnotationPresent(String name)
AnnotatedInfoisAnnotationPresent in interface AnnotatedInfoisAnnotationPresent in class JavassistAnnotatedInfoname - the namepublic void setupAnnotations(AnnotationValue[] annotations)
setupAnnotations in class JavassistAnnotatedInfoannotations - the annotationsprotected Map<String,AnnotationValue> getAllAnnotations()
public abstract JavassistInheritableAnnotationHolder getSuperHolder()
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.