public class BytecodeAnnotationInfo extends BytecodeTypeInfo implements AnnotationInfo
BytecodeTypeInfo.MarshalledClassInfo
Modifier and Type | Field and Description |
---|---|
protected HashMap<String,AnnotationAttribute> |
attributeMap
Attribute Map
|
protected AnnotationAttribute[] |
attributes
The attributes
|
clazz, GET_CLASSLOADER_PERMISSION
allAnnotations, allAnnotationsArray, classBytes, initialized
annotationHelper, annotationMap, annotationsArray
ABSTRACT, CONSTANT, FINAL, PACKAGE, PACKAGE_ABSTRACT, PACKAGE_CONSTANT, PACKAGE_STATIC, PRIVATE, PRIVATE_CONSTANT, PRIVATE_STATIC, PROTECTED, PROTECTED_ABSTRACT, PROTECTED_CONSTANT, PROTECTED_STATIC, PUBLIC, PUBLIC_ABSTRACT, PUBLIC_CONSTANT, PUBLIC_STATIC, STATIC
Constructor and Description |
---|
BytecodeAnnotationInfo(BytecodeTypeInfoFactoryImpl factory,
String name,
ClassBytes classBytes,
Class<? extends Object> clazz) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
AnnotationAttribute |
getAttribute(String name)
Get an attribute
|
AnnotationAttribute[] |
getAttributes()
Get the attributes
|
int |
hashCode() |
void |
setAttributes(AnnotationAttributeImpl[] attributes)
Set the attributes
|
convertValue, convertValue, convertValue, generateConstructorInfo, generateConstructorInfo, generateFieldInfo, generateMethodInfo, generateMethodInfo, getActualTypeArguments, getAnnotations, getArrayClass, getArrayType, getAttachment, getAttachment, getClassBytes, getClassLoader, getClassLoaderInternal, getClassSignature, getComponentType, getDeclaredConstructor, getDeclaredConstructor, getDeclaredConstructor, getDeclaredConstructors, getDeclaredField, getDeclaredFields, getDeclaredMethod, getDeclaredMethod, getDeclaredMethod, getDeclaredMethods, getFactory, getGenericInterfaces, getGenericSuperclass, getHashCode, getInterfaces, getKeyType, getModifiers, getName, getOwnerType, getPackage, getPackageName, getPackageName, getRawType, getSimpleName, getSuperclass, getSuperHolder, getType, getTypeInfoFactory, getTypeVariable, getValueType, isAnnotation, isArray, isAssignableFrom, isCollection, isEnum, isInstance, isInterface, isMap, isPrimitive, isPublic, isStatic, isVolatile, newArrayInstance, setAttachment, toShortString, toString, writeReplace
getAllAnnotations, getAnnotation, getAnnotations, isAnnotationPresent, setupAnnotations
getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, list, notEqual, toShortString, toString, toStringImplementation
finalize, getClass, notify, notifyAll, wait, wait, wait
getName
getActualTypeArguments, getComponentType, getDeclaredConstructor, getDeclaredConstructors, getDeclaredField, getDeclaredFields, getDeclaredMethod, getDeclaredMethods, getGenericInterfaces, getGenericSuperclass, getInterfaces, getKeyType, getOwnerType, getPackage, getRawType, getSuperclass, getTypeVariable, getValueType, isInterface
getAnnotation, getAnnotations, getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent, isAnnotationPresent
getModifiers, isPublic, isStatic, isVolatile
convertValue, convertValue, convertValue, getArrayType, getAttachment, getAttachment, getClassLoader, getSimpleName, getType, getTypeInfoFactory, isAnnotation, isArray, isAssignableFrom, isCollection, isEnum, isInstance, isMap, isPrimitive, newArrayInstance, setAttachment
protected volatile AnnotationAttribute[] attributes
protected volatile HashMap<String,AnnotationAttribute> attributeMap
public BytecodeAnnotationInfo(BytecodeTypeInfoFactoryImpl factory, String name, ClassBytes classBytes, Class<? extends Object> clazz)
public void setAttributes(AnnotationAttributeImpl[] attributes)
attributes
- the attributespublic AnnotationAttribute[] getAttributes()
AnnotationInfo
getAttributes
in interface AnnotationInfo
public AnnotationAttribute getAttribute(String name)
AnnotationInfo
getAttribute
in interface AnnotationInfo
name
- the name of the attributepublic boolean equals(Object o)
equals
in class BytecodeTypeInfo
public int hashCode()
hashCode
in class org.jboss.util.JBossObject
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.