public abstract class JavassistAnnotatedInfo extends AbstractAnnotatedInfo
Modifier and Type | Field and Description |
---|---|
protected AnnotationHelper |
annotationHelper |
protected HashMap<String,AnnotationValue> |
annotationMap
Annotations map Map
|
protected AnnotationValue[] |
annotationsArray
The annotations
|
Constructor and Description |
---|
JavassistAnnotatedInfo(AnnotationHelper annotationHelper) |
Modifier and Type | Method and Description |
---|---|
AnnotationValue |
getAnnotation(String name)
Get an annotation
|
protected AnnotationValue[] |
getAnnotations(Object obj) |
boolean |
isAnnotationPresent(String name)
Test whether an annotation is present
|
protected void |
setupAnnotations(AnnotationValue[] annotations)
Set up the annotations
|
getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, hashCode, list, notEqual, toShortString, toShortString, toString, toString, toStringImplementation
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
getAnnotations
protected AnnotationValue[] annotationsArray
protected HashMap<String,AnnotationValue> annotationMap
protected AnnotationHelper annotationHelper
public JavassistAnnotatedInfo(AnnotationHelper annotationHelper)
protected AnnotationValue[] getAnnotations(Object obj)
public AnnotationValue getAnnotation(String name)
AnnotatedInfo
name
- the namepublic boolean isAnnotationPresent(String name)
AnnotatedInfo
name
- the nameprotected void setupAnnotations(AnnotationValue[] annotations)
annotations
- the annotationsCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.