org.jboss.reflect.spi
Interface AnnotatedInfo

All Superinterfaces:
Cloneable, org.jboss.util.JBossInterface
All Known Subinterfaces:
AnnotationInfo, ArrayInfo, ClassInfo, ConstructorInfo, EnumInfo, FieldInfo, InterfaceInfo, MethodInfo, ParameterInfo
All Known Implementing Classes:
AnnotationHolder, AnnotationInfoImpl, ArrayInfoImpl, ClassInfoImpl, ConstructorInfoImpl, EnumInfoImpl, FieldInfoImpl, InheritableAnnotationHolder, InterfaceInfoImpl, MethodInfoImpl, ParameterInfoImpl

public interface AnnotatedInfo
extends org.jboss.util.JBossInterface

Annotated info

Author:
Bill Burke, Adrian Brock

Method Summary
 AnnotationValue getAnnotation(String name)
          Get an annotation
 AnnotationValue[] getAnnotations()
          Get the annotations
 boolean isAnnotationPresent(String name)
          Test whether an annotation is present
 
Methods inherited from interface org.jboss.util.JBossInterface
clone, toShortString, toShortString
 

Method Detail

getAnnotations

public AnnotationValue[] getAnnotations()
Get the annotations

Returns:
the annotations

getAnnotation

public AnnotationValue getAnnotation(String name)
Get an annotation

Parameters:
name - the name
Returns:
the annotation

isAnnotationPresent

public boolean isAnnotationPresent(String name)
Test whether an annotation is present

Parameters:
name - the name
Returns:
true when the annotation is present


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.