org.jboss.webbeans.introspector
Interface AnnotatedAnnotation<T extends java.lang.annotation.Annotation>

All Superinterfaces:
AnnotatedItem<T,java.lang.Class<T>>, AnnotatedType<T>
All Known Implementing Classes:
AnnotatedAnnotationImpl, ForwardingAnnotatedAnnotation

public interface AnnotatedAnnotation<T extends java.lang.annotation.Annotation>
extends AnnotatedType<T>

Represents a meta annotation

Author:
Pete Muir

Field Summary
 
Fields inherited from interface org.jboss.webbeans.introspector.AnnotatedItem
MAPPED_METAANNOTATIONS
 
Method Summary
 java.util.Set<AnnotatedMethod<?>> getAnnotatedMembers(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
          Gets all the members annotated with annotationType
<A> AnnotatedMethod<A>
getMember(java.lang.String memberName, AnnotatedClass<A> expectedType)
          Get an annotation member by name
 java.util.Set<AnnotatedMethod<?>> getMembers()
          Gets all members
 java.lang.Class<T> getRawType()
          Gets the type of the element
 
Methods inherited from interface org.jboss.webbeans.introspector.AnnotatedType
getSimpleName, getSuperclass, isEquivalent
 
Methods inherited from interface org.jboss.webbeans.introspector.AnnotatedItem
getActualTypeArguments, getAnnotation, getAnnotationsAsSet, getAnnotationStore, getBindings, getBindingsAsArray, getDeclaredMetaAnnotations, getFlattenedTypeHierarchy, getMetaAnnotations, getMetaAnnotationsAsArray, getName, getType, isAnnotationPresent, isAssignableFrom, isAssignableFrom, isDeclaredAnnotationPresent, isFinal, isParameterizedType, isProxyable, isPublic, isStatic
 

Method Detail

getMembers

java.util.Set<AnnotatedMethod<?>> getMembers()
Gets all members

Returns:
A set of abstracted members

getAnnotatedMembers

java.util.Set<AnnotatedMethod<?>> getAnnotatedMembers(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Gets all the members annotated with annotationType

Parameters:
annotationType - The annotation type to match
Returns:
A set of abstracted members with the annotation type

getMember

<A> AnnotatedMethod<A> getMember(java.lang.String memberName,
                                 AnnotatedClass<A> expectedType)
Get an annotation member by name

Parameters:
memberName -
Returns:

getRawType

java.lang.Class<T> getRawType()
Description copied from interface: AnnotatedItem
Gets the type of the element

Specified by:
getRawType in interface AnnotatedItem<T extends java.lang.annotation.Annotation,java.lang.Class<T extends java.lang.annotation.Annotation>>
Returns:
The type of the element


Copyright © 2011. All Rights Reserved.