JBoss Reflection 2.2.1.SP1

org.jboss.reflect.spi
Interface AnnotationInfo

All Superinterfaces:
AnnotatedInfo, ClassInfo, Cloneable, InterfaceInfo, org.jboss.util.JBossInterface, ModifierInfo, Serializable, TypeInfo
All Known Implementing Classes:
AnnotationInfoImpl, BytecodeAnnotationInfo, JavassistAnnotationInfo

public interface AnnotationInfo
extends InterfaceInfo, ModifierInfo

Annotation Info

Author:
Bill Burke, Adrian Brock

Field Summary
 
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
 
Method Summary
 AnnotationAttribute getAttribute(String name)
          Get an attribute
 AnnotationAttribute[] getAttributes()
          Get the attributes
 String getName()
          Get the name
 
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, getTypeVariable, 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
getModifiers, isPublic, isStatic, isVolatile
 
Methods inherited from interface org.jboss.reflect.spi.TypeInfo
convertValue, convertValue, convertValue, getArrayType, getAttachment, getAttachment, getClassLoader, getSimpleName, getType, getTypeInfoFactory, isAnnotation, isArray, isAssignableFrom, isCollection, isEnum, isInstance, isMap, isPrimitive, newArrayInstance, setAttachment
 

Method Detail

getName

String getName()
Get the name

Specified by:
getName in interface ClassInfo
Specified by:
getName in interface TypeInfo
Returns:
the name

getAttributes

AnnotationAttribute[] getAttributes()
Get the attributes

Returns:
the attributes

getAttribute

AnnotationAttribute getAttribute(String name)
Get an attribute

Parameters:
name - the name of the attribute
Returns:
the attribute

JBoss Reflection 2.2.1.SP1

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.