|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.weld.introspector.jlr.AbstractWeldAnnotated<T,java.lang.Class<T>>
org.jboss.weld.introspector.jlr.WeldClassImpl<T>
org.jboss.weld.introspector.jlr.WeldAnnotationImpl<T>
T - public class WeldAnnotationImpl<T extends java.lang.annotation.Annotation>
Represents an annotated annotation This class is immutable and therefore threadsafe
| Field Summary |
|---|
| Fields inherited from interface org.jboss.weld.introspector.WeldAnnotated |
|---|
MAPPED_METAANNOTATIONS |
| Constructor Summary | |
|---|---|
protected |
WeldAnnotationImpl(java.lang.Class<T> annotationType,
ClassTransformer classTransformer)
Constructor Initializes the superclass with the built annotation map |
| Method Summary | ||
|---|---|---|
java.util.Set<WeldMethod<?,?>> |
getAnnotatedMembers(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Returns the annotated members with a given annotation type If the annotated members are null, they are initialized first. |
|
java.lang.Class<T> |
getDelegate()
Gets the delegate (class) |
|
|
getMember(java.lang.String memberName,
WeldClass<A> expectedType)
Get an annotation member by name |
|
java.util.Set<WeldMethod<?,?>> |
getMembers()
Gets all members of the annotation Initializes the members first if they are null |
|
static
|
of(java.lang.Class<A> annotationType,
ClassTransformer classTransformer)
|
|
java.lang.String |
toString()
Gets a string representation of the annotation |
|
| Methods inherited from class org.jboss.weld.introspector.jlr.AbstractWeldAnnotated |
|---|
equals, getActualTypeArguments, getAnnotation, getAnnotations, getAnnotationStore, getBaseType, getBindingsAsArray, getDeclaredMetaAnnotations, getInterfaceOnlyFlattenedTypeHierarchy, getJavaClass, getMetaAnnotations, getMetaAnnotationsAsArray, getQualifiers, getTypeClosure, hashCode, isAnnotationPresent, isDeclaredAnnotationPresent, isParameterizedType, isProxyable |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jboss.weld.introspector.WeldAnnotated |
|---|
getActualTypeArguments, getBindingsAsArray, getDeclaredMetaAnnotations, getInterfaceOnlyFlattenedTypeHierarchy, getJavaClass, getMetaAnnotations, getMetaAnnotationsAsArray, getName, getPackage, getQualifiers, isDeclaredAnnotationPresent, isFinal, isPackagePrivate, isPrivate, isProxyable, isPublic, isStatic |
| Methods inherited from interface javax.enterprise.inject.spi.AnnotatedType |
|---|
getConstructors, getFields, getJavaClass, getMethods |
| Methods inherited from interface javax.enterprise.inject.spi.Annotated |
|---|
getAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresent |
| Constructor Detail |
|---|
protected WeldAnnotationImpl(java.lang.Class<T> annotationType,
ClassTransformer classTransformer)
annotationType - The annotation type| Method Detail |
|---|
public static <A extends java.lang.annotation.Annotation> WeldAnnotation<A> of(java.lang.Class<A> annotationType,
ClassTransformer classTransformer)
public java.util.Set<WeldMethod<?,?>> getMembers()
getMembers in interface WeldAnnotation<T extends java.lang.annotation.Annotation>WeldAnnotation.getMembers()public java.util.Set<WeldMethod<?,?>> getAnnotatedMembers(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
getAnnotatedMembers in interface WeldAnnotation<T extends java.lang.annotation.Annotation>annotationType - The annotation type to match
WeldAnnotation.getAnnotatedMembers(Class)
public <A> WeldMethod<A,?> getMember(java.lang.String memberName,
WeldClass<A> expectedType)
WeldAnnotation
getMember in interface WeldAnnotation<T extends java.lang.annotation.Annotation>public java.lang.String toString()
toString in class WeldClassImpl<T extends java.lang.annotation.Annotation>public java.lang.Class<T> getDelegate()
WeldClassImpl
getDelegate in class WeldClassImpl<T extends java.lang.annotation.Annotation>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||