public interface WeldClass<T> extends WeldAnnotated<T,java.lang.Class<T>>, AnnotatedType<T>
MAPPED_DECLARED_METAANNOTATIONS, MAPPED_METAANNOTATIONS| Modifier and Type | Method and Description |
|---|---|
<U> WeldClass<? extends U> |
asWeldSubclass(WeldClass<U> clazz) |
<S> S |
cast(java.lang.Object object) |
java.util.Collection<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
|
<F> WeldField<F,?> |
getDeclaredWeldField(java.lang.String fieldName)
Get a field by name
|
java.util.Collection<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.
|
<M> WeldMethod<M,?> |
getDeclaredWeldMethod(MethodSignature signature)
Get a method by name
|
java.util.Collection<WeldMethod<?,? super T>> |
getDeclaredWeldMethods()
Gets all fields on the type
|
java.util.Collection<WeldMethod<?,? super T>> |
getDeclaredWeldMethods(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Gets all methods annotated with annotationType
|
java.util.Collection<WeldMethod<?,? super T>> |
getDeclaredWeldMethodsWithAnnotatedParameters(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Gets declared with parameters annotated with annotationType
|
WeldConstructor<T> |
getNoArgsWeldConstructor()
Gets the no-args constructor
|
java.lang.String |
getSimpleName() |
java.util.Collection<WeldConstructor<T>> |
getWeldConstructors(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Gets all constructors which are annotated with annotationType
|
java.util.Collection<WeldField<?,?>> |
getWeldFields()
Gets all fields on the type
|
java.util.Collection<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.
|
<M> WeldMethod<M,?> |
getWeldMethod(MethodSignature signature)
Get a method by name
|
java.util.Collection<WeldMethod<?,? super T>> |
getWeldMethods()
Gets all fields on the type
|
java.util.Collection<WeldMethod<?,?>> |
getWeldMethods(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Gets all methods annotated with annotationType
|
WeldClass<? super T> |
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 |
isMethodOverridden(WeldMethod<?,? super T> method) |
boolean |
isModified() |
boolean |
isParameterizedType() |
boolean |
isSerializable() |
getActualTypeArguments, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getName, getPackage, getQualifiers, isFinal, isGeneric, isPackagePrivate, isPrimitive, isPrivate, isPublic, isStaticgetConstructors, getFields, getJavaClass, getMethodsgetAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresentjava.util.Collection<WeldField<?,?>> getWeldFields()
java.util.Collection<WeldMethod<?,? super T>> getWeldMethods()
java.util.Collection<WeldMethod<?,? super T>> getDeclaredWeldMethods()
<F> WeldField<F,?> getDeclaredWeldField(java.lang.String fieldName)
F - the expected type of the fieldfieldName - the field namejava.util.Collection<WeldField<?,?>> getWeldFields(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
annotationType - The annotation to matchjava.util.Collection<WeldField<?,? super T>> getDeclaredWeldFields(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
annotationType - The annotation to matchjava.util.Collection<WeldConstructor<T>> getWeldConstructors(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
annotationType - The annotation type to matchWeldConstructor<T> getNoArgsWeldConstructor()
WeldConstructor<T> getDeclaredWeldConstructor(ConstructorSignature signature)
parameterTypes - the parameters of the constructorjava.util.Collection<WeldMethod<?,?>> getWeldMethods(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
annotationType - The annotation to matchjava.util.Collection<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.Collection<WeldMethod<?,? super T>> getDeclaredWeldMethodsWithAnnotatedParameters(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
annotationType - The annotation to matchWeldClass<? super T> 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()
boolean isModified()
<S> S cast(java.lang.Object object)
boolean isEquivalent(java.lang.Class<?> clazz)
clazz - The Java classjava.lang.String getSimpleName()
java.util.Collection<java.lang.annotation.Annotation> getDeclaredMetaAnnotations(java.lang.Class<? extends java.lang.annotation.Annotation> metaAnnotationType)
The - meta annotation to matchboolean isMethodOverridden(WeldMethod<?,? super T> method)
Copyright © 2014 Seam Framework. All Rights Reserved.