|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.util.JBossObject
org.jboss.reflect.plugins.AbstractAnnotatedInfo
org.jboss.reflect.plugins.InheritableAnnotationHolder
org.jboss.reflect.plugins.ClassInfoImpl
org.jboss.reflect.plugins.InterfaceInfoImpl
org.jboss.reflect.plugins.AnnotationInfoImpl
public class AnnotationInfoImpl
Annotation Info
| Field Summary | |
|---|---|
protected HashMap<String,AnnotationAttribute> |
attributeMap
Attribute Map |
protected AnnotationAttribute[] |
attributes
The attributes |
| Fields inherited from class org.jboss.reflect.plugins.ClassInfoImpl |
|---|
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_TYPES |
| Fields inherited from class org.jboss.reflect.plugins.InheritableAnnotationHolder |
|---|
allAnnotations, allAnnotationsArray, annotatedElement, annotationHelper, declaredAnnotations, declaredAnnotationsArray |
| Fields inherited from class org.jboss.util.JBossObject |
|---|
hashCode, log, toString |
| Fields inherited from interface org.jboss.reflect.spi.ModifierInfo |
|---|
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 Summary | |
|---|---|
AnnotationInfoImpl()
Create a new AnnotationInfo. |
|
AnnotationInfoImpl(String name,
int modifiers)
Create a new AnnotationInfo. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
AnnotationAttribute |
getAttribute(String name)
Get an attribute |
AnnotationAttribute[] |
getAttributes()
Get the attributes |
int |
getModifiers()
Get the modifiers |
String |
getName()
Get the class name |
int |
hashCode()
|
boolean |
isAnnotation()
Whether this type is an annotation |
void |
setAttributes(AnnotationAttributeImpl[] attributes)
Set the attributes |
| Methods inherited from class org.jboss.reflect.plugins.InterfaceInfoImpl |
|---|
isInterface |
| Methods inherited from class org.jboss.reflect.plugins.InheritableAnnotationHolder |
|---|
getAllAnnotations, getAnnotation, getAnnotations, getDeclaredAnnotations, isAnnotationPresent, setAnnotatedElement, setAnnotationHelper, setupAnnotations |
| Methods inherited from class org.jboss.reflect.plugins.AbstractAnnotatedInfo |
|---|
getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent |
| Methods inherited from class org.jboss.util.JBossObject |
|---|
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, list, notEqual, toShortString, toShortString, toString, toStringImplementation |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jboss.reflect.spi.ClassInfo |
|---|
getActualTypeArguments, getComponentType, getDeclaredConstructor, getDeclaredConstructors, getDeclaredField, getDeclaredFields, getDeclaredMethod, getDeclaredMethods, getGenericInterfaces, getGenericSuperclass, getInterfaces, getKeyType, getOwnerType, getPackage, getRawType, getSuperclass, getValueType, isInterface |
| Methods inherited from interface org.jboss.reflect.spi.AnnotatedInfo |
|---|
getAnnotation, getAnnotations, getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent, isAnnotationPresent |
| Methods inherited from interface org.jboss.util.JBossInterface |
|---|
clone, toShortString, toShortString |
| Methods inherited from interface org.jboss.reflect.spi.ModifierInfo |
|---|
isPublic, isStatic, isVolatile |
| Methods inherited from interface org.jboss.reflect.spi.TypeInfo |
|---|
convertValue, convertValue, convertValue, getArrayType, getAttachment, getAttachment, getSimpleName, getType, getTypeInfoFactory, isArray, isAssignableFrom, isCollection, isEnum, isMap, isPrimitive, newArrayInstance, setAttachment |
| Field Detail |
|---|
protected AnnotationAttribute[] attributes
protected HashMap<String,AnnotationAttribute> attributeMap
| Constructor Detail |
|---|
public AnnotationInfoImpl()
public AnnotationInfoImpl(String name,
int modifiers)
name - the namemodifiers - the modifiers| Method Detail |
|---|
public void setAttributes(AnnotationAttributeImpl[] attributes)
attributes - the attributespublic String getName()
ClassInfo
getName in interface AnnotationInfogetName in interface ClassInfogetName in interface TypeInfogetName in class ClassInfoImplpublic boolean isAnnotation()
TypeInfo
isAnnotation in interface TypeInfoisAnnotation in class ClassInfoImplpublic int getModifiers()
ModifierInfo
getModifiers in interface ModifierInfogetModifiers in class ClassInfoImplpublic AnnotationAttribute[] getAttributes()
AnnotationInfo
getAttributes in interface AnnotationInfopublic AnnotationAttribute getAttribute(String name)
AnnotationInfo
getAttribute in interface AnnotationInfoname - the name of the attribute
public boolean equals(Object o)
equals in class ClassInfoImplpublic int hashCode()
hashCode in class ClassInfoImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||