|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WeldClass<T>
Represents a Class
| Field Summary |
|---|
| Fields inherited from interface org.jboss.weld.introspector.WeldAnnotated |
|---|
MAPPED_METAANNOTATIONS |
| Method Summary | ||
|---|---|---|
|
asWeldSubclass(WeldClass<U> clazz)
|
|
|
cast(java.lang.Object object)
|
|
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<?,?>> |
getDeclaredWeldMethods()
Gets all fields on the type |
|
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)
Find the annotated method for a given methodDescriptor |
|
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 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 |
| Method Detail |
|---|
java.util.Set<WeldField<?,?>> getWeldFields()
java.util.Set<WeldMethod<?,?>> getWeldMethods()
java.util.Set<WeldMethod<?,?>> getDeclaredWeldMethods()
<F> WeldField<F,?> getDeclaredWeldField(java.lang.String fieldName,
WeldClass<F> expectedType)
F - the expected type of the fieldfieldName - the field nameexpectedType - the expected type of the field
java.util.Set<WeldField<?,?>> getAnnotatedWeldFields(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
annotationType - The annotation to match
java.util.Set<WeldField<?,T>> getDeclaredAnnotatedWeldFields(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
annotationType - The annotation to match
java.util.Set<WeldField<?,?>> getMetaAnnotatedWeldFields(java.lang.Class<? extends java.lang.annotation.Annotation> metaAnnotationType)
metaAnnotationType - The meta annotation to match
java.util.Set<WeldConstructor<T>> getAnnotatedWeldConstructors(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
annotationType - The annotation type to match
java.util.Set<WeldConstructor<T>> getWeldConstructors()
WeldConstructor<T> getNoArgsWeldConstructor()
WeldConstructor<T> getDeclaredWeldConstructor(ConstructorSignature signature)
parameterTypes - the parameters of the constructor
java.util.Set<WeldMethod<?,?>> getAnnotatedWeldMethods(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
annotationType - The annotation to match
java.util.Set<WeldMethod<?,T>> getDeclaredAnnotatedWeldMethods(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
annotationType - The annotation to match
WeldMethod<?,?> getWeldMethod(java.lang.reflect.Method method)
methodDescriptor -
<M> WeldMethod<M,?> getDeclaredWeldMethod(MethodSignature signature,
WeldClass<M> expectedReturnType)
M - the expected return typesignature - the name of the methodexpectedReturnType - the expected return type
<M> WeldMethod<M,?> getWBMethod(MethodSignature signature)
M - the expected return typesignature - the name of the method
@Deprecated WeldMethod<?,?> getDeclaredWeldMethod(java.lang.reflect.Method method)
java.util.Set<WeldMethod<?,?>> getWeldMethodsWithAnnotatedParameters(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
annotationType - The annotation to match
java.util.Set<WeldConstructor<?>> getWeldConstructorsWithAnnotatedParameters(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
annotationType - The annotation to match
java.util.Set<WeldMethod<?,T>> getDeclaredWeldMethodsWithAnnotatedParameters(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
annotationType - The annotation to match
WeldClass<?> getWeldSuperclass()
boolean isNonStaticMemberClass()
boolean isParameterizedType()
isParameterizedType in interface WeldAnnotated<T,java.lang.Class<T>>boolean isAbstract()
boolean isEnum()
<S> S cast(java.lang.Object object)
<U> WeldClass<? extends U> asWeldSubclass(WeldClass<U> clazz)
boolean isEquivalent(java.lang.Class<?> clazz)
clazz - The Java class
java.lang.String getSimpleName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||