|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.weld.introspector.ForwardingAnnotated<T,S>
org.jboss.weld.introspector.ForwardingWeldAnnotated<T,java.lang.Class<T>>
org.jboss.weld.introspector.ForwardingWeldClass<T>
public abstract class ForwardingWeldClass<T>
| Field Summary |
|---|
| Fields inherited from interface org.jboss.weld.introspector.WeldAnnotated |
|---|
MAPPED_METAANNOTATIONS |
| Constructor Summary | |
|---|---|
ForwardingWeldClass()
|
|
| Method Summary | ||
|---|---|---|
|
asWeldSubclass(WeldClass<U> clazz)
|
|
|
cast(java.lang.Object object)
|
|
protected abstract WeldClass<T> |
delegate()
|
|
java.util.Set<WeldConstructor<T>> |
getAnnotatedWeldConstructors(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Gets all constructors which are annotated with annotationType |
|
java.util.Set<WeldField<?,?>> |
getAnnotatedWeldFields(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Gets all fields which are annotated with the given annotation type on this class and all super classes |
|
java.util.Set<WeldMethod<?,?>> |
getAnnotatedWeldMethods(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Gets all methods annotated with annotationType |
|
java.util.Set<WeldField<?,T>> |
getDeclaredAnnotatedWeldFields(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Gets all fields which are annotated with the given annotation type on this class only. |
|
java.util.Set<WeldMethod<?,T>> |
getDeclaredAnnotatedWeldMethods(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Gets all methods annotated with annotationType |
|
WeldConstructor<T> |
getDeclaredWeldConstructor(ConstructorSignature signature)
Get the constructor which matches the argument list provided |
|
|
getDeclaredWeldField(java.lang.String fieldName,
WeldClass<F> expectedType)
Get a field by name |
|
WeldMethod<?,?> |
getDeclaredWeldMethod(java.lang.reflect.Method method)
Deprecated. |
|
|
getDeclaredWeldMethod(MethodSignature signature,
WeldClass<M> expectedReturnType)
Get a method by name |
|
java.util.Set<WeldMethod<?,T>> |
getDeclaredWeldMethodsWithAnnotatedParameters(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Gets all with parameters annotated with annotationType |
|
java.util.Set<WeldField<?,?>> |
getMetaAnnotatedWeldFields(java.lang.Class<? extends java.lang.annotation.Annotation> metaAnnotationType)
Gets all fields which are meta-annotated with metaAnnotationType |
|
WeldConstructor<T> |
getNoArgsWeldConstructor()
Gets the no-args constructor |
|
java.lang.String |
getSimpleName()
|
|
|
getWBMethod(MethodSignature signature)
Get a method by name |
|
java.util.Set<WeldConstructor<T>> |
getWeldConstructors()
Gets all constructors |
|
java.util.Set<WeldConstructor<?>> |
getWeldConstructorsWithAnnotatedParameters(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Gets all with constructors annotated with annotationType |
|
java.util.Set<WeldField<?,?>> |
getWeldFields()
Gets all fields on the type |
|
WeldMethod<?,?> |
getWeldMethod(java.lang.reflect.Method method)
Deprecated. |
|
java.util.Set<WeldMethod<?,?>> |
getWeldMethods()
Gets all fields on the type |
|
java.util.Set<WeldMethod<?,?>> |
getWeldMethodsWithAnnotatedParameters(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Gets all with parameters annotated with annotationType |
|
WeldClass<?> |
getWeldSuperclass()
Gets the superclass. |
|
boolean |
isAbstract()
|
|
boolean |
isEnum()
|
|
boolean |
isEquivalent(java.lang.Class<?> clazz)
Check if this is equivalent to a java class |
|
boolean |
isNonStaticMemberClass()
Determine if this is a non-static member class |
|
boolean |
isParameterizedType()
|
|
| Methods inherited from class org.jboss.weld.introspector.ForwardingWeldAnnotated |
|---|
getActualTypeArguments, getBindingsAsArray, getDeclaredMetaAnnotations, getInterfaceOnlyFlattenedTypeHierarchy, getJavaClass, getMetaAnnotations, getMetaAnnotationsAsArray, getName, getPackage, getQualifiers, isDeclaredAnnotationPresent, isFinal, isPackagePrivate, isPrivate, isProxyable, isPublic, isStatic |
| Methods inherited from class org.jboss.weld.introspector.ForwardingAnnotated |
|---|
equals, getAnnotation, getAnnotations, getBaseType, getTypeClosure, hashCode, isAnnotationPresent, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jboss.weld.introspector.WeldClass |
|---|
getDeclaredWeldMethods |
| 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 |
|---|
public ForwardingWeldClass()
| Method Detail |
|---|
protected abstract WeldClass<T> delegate()
delegate in class ForwardingWeldAnnotated<T,java.lang.Class<T>>public java.util.Set<WeldConstructor<T>> getAnnotatedWeldConstructors(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
WeldClass
getAnnotatedWeldConstructors in interface WeldClass<T>annotationType - The annotation type to match
public java.util.Set<WeldField<?,?>> getAnnotatedWeldFields(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
WeldClass
getAnnotatedWeldFields in interface WeldClass<T>annotationType - The annotation to match
public java.util.Set<WeldMethod<?,?>> getAnnotatedWeldMethods(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
WeldClass
getAnnotatedWeldMethods in interface WeldClass<T>annotationType - The annotation to match
public WeldConstructor<T> getNoArgsWeldConstructor()
WeldClass
getNoArgsWeldConstructor in interface WeldClass<T>public java.util.Set<WeldConstructor<T>> getWeldConstructors()
WeldClass
getWeldConstructors in interface WeldClass<T>public java.util.Set<WeldMethod<?,?>> getWeldMethods()
WeldClass
getWeldMethods in interface WeldClass<T>public java.util.Set<WeldField<?,T>> getDeclaredAnnotatedWeldFields(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
WeldClass
getDeclaredAnnotatedWeldFields in interface WeldClass<T>annotationType - The annotation to match
public java.util.Set<WeldMethod<?,T>> getDeclaredAnnotatedWeldMethods(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
WeldClass
getDeclaredAnnotatedWeldMethods in interface WeldClass<T>annotationType - The annotation to match
public java.util.Set<WeldMethod<?,T>> getDeclaredWeldMethodsWithAnnotatedParameters(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
WeldClass
getDeclaredWeldMethodsWithAnnotatedParameters in interface WeldClass<T>annotationType - The annotation to match
public java.util.Set<WeldField<?,?>> getWeldFields()
WeldClass
getWeldFields in interface WeldClass<T>public java.util.Set<WeldField<?,?>> getMetaAnnotatedWeldFields(java.lang.Class<? extends java.lang.annotation.Annotation> metaAnnotationType)
WeldClass
getMetaAnnotatedWeldFields in interface WeldClass<T>metaAnnotationType - The meta annotation to match
@Deprecated public WeldMethod<?,?> getWeldMethod(java.lang.reflect.Method method)
WeldClass
getWeldMethod in interface WeldClass<T>public <M> WeldMethod<M,?> getWBMethod(MethodSignature signature)
WeldClass
getWBMethod in interface WeldClass<T>M - the expected return typesignature - the name of the method
public java.util.Set<WeldMethod<?,?>> getWeldMethodsWithAnnotatedParameters(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
WeldClass
getWeldMethodsWithAnnotatedParameters in interface WeldClass<T>annotationType - The annotation to match
public java.util.Set<WeldConstructor<?>> getWeldConstructorsWithAnnotatedParameters(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
WeldClass
getWeldConstructorsWithAnnotatedParameters in interface WeldClass<T>annotationType - The annotation to match
public WeldClass<?> getWeldSuperclass()
WeldClass
getWeldSuperclass in interface WeldClass<T>public boolean isNonStaticMemberClass()
WeldClass
isNonStaticMemberClass in interface WeldClass<T>public boolean isParameterizedType()
isParameterizedType in interface WeldAnnotated<T,java.lang.Class<T>>isParameterizedType in interface WeldClass<T>isParameterizedType in class ForwardingWeldAnnotated<T,java.lang.Class<T>>public boolean isAbstract()
isAbstract in interface WeldClass<T>public boolean isEnum()
isEnum in interface WeldClass<T>@Deprecated public WeldMethod<?,?> getDeclaredWeldMethod(java.lang.reflect.Method method)
getDeclaredWeldMethod in interface WeldClass<T>
public <F> WeldField<F,?> getDeclaredWeldField(java.lang.String fieldName,
WeldClass<F> expectedType)
WeldClass
getDeclaredWeldField in interface WeldClass<T>F - the expected type of the fieldfieldName - the field nameexpectedType - the expected type of the field
public <M> WeldMethod<M,?> getDeclaredWeldMethod(MethodSignature signature,
WeldClass<M> expectedReturnType)
WeldClass
getDeclaredWeldMethod in interface WeldClass<T>M - the expected return typesignature - the name of the methodexpectedReturnType - the expected return type
public WeldConstructor<T> getDeclaredWeldConstructor(ConstructorSignature signature)
WeldClass
getDeclaredWeldConstructor in interface WeldClass<T>public <U> WeldClass<? extends U> asWeldSubclass(WeldClass<U> clazz)
asWeldSubclass in interface WeldClass<T>public <S> S cast(java.lang.Object object)
cast in interface WeldClass<T>public boolean isEquivalent(java.lang.Class<?> clazz)
WeldClass
isEquivalent in interface WeldClass<T>clazz - The Java class
public java.lang.String getSimpleName()
getSimpleName in interface WeldClass<T>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||