org.jboss.reflect.plugins.bytecode
Class BytecodeAnnotatedInfo
java.lang.Object
org.jboss.util.JBossObject
org.jboss.reflect.plugins.AbstractAnnotatedInfo
org.jboss.reflect.plugins.bytecode.BytecodeAnnotatedInfo
- All Implemented Interfaces:
- Serializable, Cloneable, AnnotatedInfo, org.jboss.util.JBossInterface
- Direct Known Subclasses:
- BytecodeBehaviourInfo, BytecodeFieldInfo, BytecodeInheritableAnnotationHolder, BytecodeParameterInfo
public abstract class BytecodeAnnotatedInfo
- extends AbstractAnnotatedInfo
BytecodeAnnotatedInfo.
TODO This is exactly the same as JavassistAnnotatedInfo
- Version:
- $Revision: 104798 $
- Author:
- Kabir Khan
- See Also:
- Serialized Form
Fields inherited from class org.jboss.util.JBossObject |
hashCode, log, toString |
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 interface org.jboss.util.JBossInterface |
clone, toShortString, toShortString |
annotationsArray
protected volatile AnnotationValue[] annotationsArray
- The annotations
annotationMap
protected volatile Map<String,AnnotationValue> annotationMap
- Annotations map Map
annotationHelper
protected final AnnotationHelper annotationHelper
BytecodeAnnotatedInfo
public BytecodeAnnotatedInfo(AnnotationHelper annotationHelper)
getAnnotations
protected AnnotationValue[] getAnnotations(Object obj)
getAnnotation
public AnnotationValue getAnnotation(String name)
- Description copied from interface:
AnnotatedInfo
- Get an annotation
- Parameters:
name
- the name
- Returns:
- the annotation or null if it is not there
isAnnotationPresent
public boolean isAnnotationPresent(String name)
- Description copied from interface:
AnnotatedInfo
- Test whether an annotation is present
- Parameters:
name
- the name
- Returns:
- true when the annotation is present
setupAnnotations
protected void setupAnnotations(AnnotationValue[] annotations)
- Set up the annotations
- Parameters:
annotations
- the annotations
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.