org.jboss.reflect.plugins
Class AnnotationInfoImpl
java.lang.Object
org.jboss.util.JBossObject
org.jboss.reflect.plugins.InheritableAnnotationHolder
org.jboss.reflect.plugins.ClassInfoImpl
org.jboss.reflect.plugins.InterfaceInfoImpl
org.jboss.reflect.plugins.AnnotationInfoImpl
- All Implemented Interfaces:
- AnnotatedInfo, AnnotationInfo, ClassInfo, Cloneable, InterfaceInfo, org.jboss.util.JBossInterface, ModifierInfo, Serializable, TypeInfo
- public class AnnotationInfoImpl
- extends InterfaceInfoImpl
- implements AnnotationInfo
Annotation Info
- Author:
- Bill Burke, Adrian Brock
- See Also:
- Serialized Form
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 |
Methods inherited from class org.jboss.reflect.plugins.ClassInfoImpl |
findMethod, getDeclaredConstructors, getDeclaredField, getDeclaredFields, getDeclaredMethod, getDeclaredMethods, getInterfaces, getSuperclass, getType, isPublic, isStatic, setDeclaredConstructors, setDeclaredFields, setDeclaredMethods, setInterfaces, setSuperclass, setType, toString |
Methods inherited from class org.jboss.util.JBossObject |
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, list, notEqual, toShortString, toShortString, toString, toStringImplementation |
Methods inherited from interface org.jboss.util.JBossInterface |
clone, toShortString, toShortString |
attributes
protected AnnotationAttribute[] attributes
- The attributes
attributeMap
protected HashMap attributeMap
- Attribute Map
AnnotationInfoImpl
public AnnotationInfoImpl()
- Create a new AnnotationInfo.
AnnotationInfoImpl
public AnnotationInfoImpl(String name,
int modifiers)
- Create a new AnnotationInfo.
- Parameters:
name
- the namemodifiers
- the modifiers
setAttributes
public void setAttributes(AnnotationAttributeImpl[] attributes)
- Set the attributes
- Parameters:
attributes
- the attributes
getName
public String getName()
- Description copied from interface:
AnnotationInfo
- Get the name
- Specified by:
getName
in interface AnnotationInfo
- Overrides:
getName
in class ClassInfoImpl
getModifiers
public int getModifiers()
- Description copied from interface:
ModifierInfo
- Get the modifiers
- Specified by:
getModifiers
in interface ModifierInfo
- Overrides:
getModifiers
in class ClassInfoImpl
getAttributes
public AnnotationAttribute[] getAttributes()
- Description copied from interface:
AnnotationInfo
- Get the attributes
- Specified by:
getAttributes
in interface AnnotationInfo
- Returns:
- the attributes
getAttribute
public AnnotationAttribute getAttribute(String name)
- Description copied from interface:
AnnotationInfo
- Get an attribute
- Specified by:
getAttribute
in interface AnnotationInfo
- Parameters:
name
- the name of the attribute
- Returns:
- the attribute
equals
public boolean equals(Object o)
- Overrides:
equals
in class ClassInfoImpl
hashCode
public int hashCode()
- Overrides:
hashCode
in class ClassInfoImpl
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.