|
||||||||||
| 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_DECLARED_METAANNOTATIONS, MAPPED_METAANNOTATIONS |
| Method Summary | ||
|---|---|---|
|
asWeldSubclass(WeldClass<U> clazz)
|
|
|
cast(java.lang.Object object)
|
|
java.util.Set<java.lang.annotation.Annotation> |
getDeclaredMetaAnnotations(java.lang.Class<? extends java.lang.annotation.Annotation> metaAnnotationType)
Gets all annotations which are declared on this annotated item with the given meta annotation type |
|
WeldConstructor<T> |
getDeclaredWeldConstructor(ConstructorSignature signature)
Get the constructor which matches the argument list provided |
|
|
getDeclaredWeldField(java.lang.String fieldName)
Get a field by name |
|
java.util.Set<WeldField<?,? super T>> |
getDeclaredWeldFields(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Gets all fields which are annotated with the given annotation type on this class only. |
|
WeldMethod<?,?> |
getDeclaredWeldMethod(java.lang.reflect.Method method)
Deprecated. |
|
|
getDeclaredWeldMethod(MethodSignature signature)
Get a method by name |
|
java.util.Set<WeldMethod<?,?>> |
getDeclaredWeldMethods()
Gets all fields on the type |
|
java.util.Set<WeldMethod<?,? super T>> |
getDeclaredWeldMethods(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Gets all methods annotated with annotationType |
|
java.util.Set<WeldMethod<?,? super T>> |
getDeclaredWeldMethodsWithAnnotatedParameters(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Gets all with parameters annotated with annotationType |
|
WeldConstructor<T> |
getNoArgsWeldConstructor()
Gets the no-args constructor |
|
java.lang.String |
getSimpleName()
|
|
java.util.Set<WeldConstructor<T>> |
getWeldConstructors(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Gets all constructors which are annotated with annotationType |
|
java.util.Set<WeldField<?,?>> |
getWeldFields()
Gets all fields on the type |
|
java.util.Set<WeldField<?,?>> |
getWeldFields(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 |
|
WeldMethod<?,?> |
getWeldMethod(java.lang.reflect.Method method)
Deprecated. |
|
|
getWeldMethod(MethodSignature signature)
Get a method by name |
|
java.util.Set<WeldMethod<?,?>> |
getWeldMethods()
Gets all fields on the type |
|
java.util.Set<WeldMethod<?,?>> |
getWeldMethods(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Gets all methods annotated with annotationType |
|
WeldClass<?> |
getWeldSuperclass()
Gets the superclass. |
|
boolean |
isAbstract()
|
|
boolean |
isAnonymousClass()
|
|
boolean |
isDiscovered()
|
|
boolean |
isEnum()
|
|
boolean |
isEquivalent(java.lang.Class<?> clazz)
Check if this is equivalent to a java class |
|
boolean |
isLocalClass()
|
|
boolean |
isMemberClass()
|
|
boolean |
isParameterizedType()
|
|
boolean |
isSerializable()
|
|
| Methods inherited from interface org.jboss.weld.introspector.WeldAnnotated |
|---|
getActualTypeArguments, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getName, getPackage, getQualifiers, isFinal, isPackagePrivate, isPrimitive, 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)
F - the expected type of the fieldfieldName - the field name
java.util.Set<WeldField<?,?>> getWeldFields(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
annotationType - The annotation to match
java.util.Set<WeldField<?,? super T>> getDeclaredWeldFields(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
annotationType - The annotation to match
java.util.Set<WeldConstructor<T>> getWeldConstructors(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
annotationType - The annotation type to match
WeldConstructor<T> getNoArgsWeldConstructor()
WeldConstructor<T> getDeclaredWeldConstructor(ConstructorSignature signature)
parameterTypes - the parameters of the constructor
java.util.Set<WeldMethod<?,?>> getWeldMethods(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
annotationType - The annotation to match
java.util.Set<WeldMethod<?,? super T>> getDeclaredWeldMethods(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
annotationType - The annotation to match
@Deprecated WeldMethod<?,?> getWeldMethod(java.lang.reflect.Method method)
methodDescriptor -
<M> WeldMethod<M,?> getDeclaredWeldMethod(MethodSignature signature)
M - the expected return typesignature - the name of the method
<M> WeldMethod<M,?> getWeldMethod(MethodSignature signature)
M - the expected return typesignature - the name of the method
@Deprecated WeldMethod<?,?> getDeclaredWeldMethod(java.lang.reflect.Method method)
java.util.Set<WeldMethod<?,? super T>> getDeclaredWeldMethodsWithAnnotatedParameters(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
annotationType - The annotation to match
WeldClass<?> getWeldSuperclass()
boolean isParameterizedType()
isParameterizedType in interface WeldAnnotated<T,java.lang.Class<T>>boolean isAbstract()
boolean isEnum()
boolean isMemberClass()
boolean isLocalClass()
boolean isAnonymousClass()
boolean isSerializable()
boolean isDiscovered()
<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()
java.util.Set<java.lang.annotation.Annotation> getDeclaredMetaAnnotations(java.lang.Class<? extends java.lang.annotation.Annotation> metaAnnotationType)
The - meta annotation to match
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||