public class AnnotationInfoImpl extends InterfaceInfoImpl implements AnnotationInfo
| Modifier and Type | Field and Description |
|---|---|
protected HashMap<String,AnnotationAttribute> |
attributeMap
Attribute Map
|
protected AnnotationAttribute[] |
attributes
The attributes
|
classInfoHelper, constructors, fieldMap, fields, genericInterfaces, genericSuperclass, interfaces, methods, modifiers, name, packageInfo, superclass, typeInfoFactory, UNKNOWN_CLASS, UNKNOWN_CLASSES, UNKNOWN_CONSTRUCTORS, UNKNOWN_FIELDS, UNKNOWN_INTERFACES, UNKNOWN_METHODS, UNKNOWN_TYPE, UNKNOWN_TYPESallAnnotations, allAnnotationsArray, annotatedElement, annotationHelper, declaredAnnotations, declaredAnnotationsArrayABSTRACT, 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 |
|---|
AnnotationInfoImpl()
Create a new AnnotationInfo.
|
AnnotationInfoImpl(String name,
int modifiers)
Create a new AnnotationInfo.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
AnnotationAttribute |
getAttribute(String name)
Get an attribute
|
AnnotationAttribute[] |
getAttributes()
Get the attributes
|
int |
getModifiers()
Get the modifiers
|
int |
hashCode() |
boolean |
isAnnotation()
Whether this type is an annotation
|
void |
setAttributes(AnnotationAttributeImpl[] attributes)
Set the attributes
|
isInterfaceconvertValue, convertValue, convertValue, findConstructor, findMethod, getActualTypeArguments, getArrayClass, getArrayType, getAttachment, getAttachment, getComponentType, getDeclaredConstructor, getDeclaredConstructors, getDeclaredField, getDeclaredFields, getDeclaredMethod, getDeclaredMethods, getGenericInterfaces, getGenericSuperclass, getInterfaces, getKeyType, getName, getOwnerType, getPackage, getRawType, getSimpleName, getSuperclass, getSuperHolder, getType, getTypeInfoFactory, getValueType, isArray, isAssignableFrom, isCollection, isEnum, isInstance, isMap, isPrimitive, isPublic, isStatic, isVolatile, newArrayInstance, setAttachment, setClassInfoHelper, setDeclaredConstructors, setDeclaredFields, setDeclaredMethods, setGenericInterfaces, setGenericSuperclass, setInterfaces, setSuperclass, setType, setTypeInfoFactory, toStringgetAllAnnotations, getAnnotation, getAnnotations, getDeclaredAnnotations, isAnnotationPresent, setAnnotatedElement, setAnnotationHelper, setupAnnotationsgetUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresentcacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, list, notEqual, toShortString, toShortString, toString, toStringImplementationfinalize, getClass, notify, notifyAll, wait, wait, waitgetNamegetActualTypeArguments, getComponentType, getDeclaredConstructor, getDeclaredConstructors, getDeclaredField, getDeclaredFields, getDeclaredMethod, getDeclaredMethods, getGenericInterfaces, getGenericSuperclass, getInterfaces, getKeyType, getOwnerType, getPackage, getRawType, getSuperclass, getValueType, isInterfacegetAnnotation, getAnnotations, getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent, isAnnotationPresentisPublic, isStatic, isVolatileconvertValue, convertValue, convertValue, getArrayType, getAttachment, getAttachment, getSimpleName, getType, getTypeInfoFactory, isArray, isAssignableFrom, isCollection, isEnum, isInstance, isMap, isPrimitive, newArrayInstance, setAttachmentprotected AnnotationAttribute[] attributes
protected HashMap<String,AnnotationAttribute> attributeMap
public AnnotationInfoImpl()
public AnnotationInfoImpl(String name, int modifiers)
name - the namemodifiers - the modifierspublic void setAttributes(AnnotationAttributeImpl[] attributes)
attributes - the attributespublic boolean isAnnotation()
TypeInfoisAnnotation in interface TypeInfoisAnnotation in class ClassInfoImplpublic int getModifiers()
ModifierInfogetModifiers in interface ModifierInfogetModifiers in class ClassInfoImplpublic AnnotationAttribute[] getAttributes()
AnnotationInfogetAttributes in interface AnnotationInfopublic AnnotationAttribute getAttribute(String name)
AnnotationInfogetAttribute in interface AnnotationInfoname - the name of the attributepublic boolean equals(Object o)
equals in class ClassInfoImplpublic int hashCode()
hashCode in class ClassInfoImplCopyright © 2016 JBoss by Red Hat. All rights reserved.