public interface WeldClass<T> extends WeldAnnotated<T,Class<T>>, javax.enterprise.inject.spi.AnnotatedType<T>
MAPPED_DECLARED_METAANNOTATIONS, MAPPED_METAANNOTATIONS
Modifier and Type | Method and Description |
---|---|
<U> WeldClass<? extends U> |
asWeldSubclass(WeldClass<U> clazz) |
<S> S |
cast(Object object) |
Collection<Annotation> |
getDeclaredMetaAnnotations(Class<? extends 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(String fieldName)
Get a field by name
|
Collection<WeldField<?,? super T>> |
getDeclaredWeldFields(Class<? extends Annotation> annotationType)
Gets all fields which are annotated with the given annotation type on this
class only.
|
WeldMethod<?,?> |
getDeclaredWeldMethod(Method method)
Deprecated.
|
<M> WeldMethod<M,?> |
getDeclaredWeldMethod(MethodSignature signature)
Get a method by name
|
Collection<WeldMethod<?,? super T>> |
getDeclaredWeldMethods()
Gets all fields on the type
|
Collection<WeldMethod<?,? super T>> |
getDeclaredWeldMethods(Class<? extends Annotation> annotationType)
Gets all methods annotated with annotationType
|
Collection<WeldMethod<?,? super T>> |
getDeclaredWeldMethodsWithAnnotatedParameters(Class<? extends Annotation> annotationType)
Gets declared with parameters annotated with annotationType
|
WeldConstructor<T> |
getNoArgsWeldConstructor()
Gets the no-args constructor
|
String |
getSimpleName() |
Collection<WeldConstructor<T>> |
getWeldConstructors(Class<? extends Annotation> annotationType)
Gets all constructors which are annotated with annotationType
|
Collection<WeldField<?,?>> |
getWeldFields()
Gets all fields on the type
|
Collection<WeldField<?,?>> |
getWeldFields(Class<? extends Annotation> annotationType)
Gets all fields which are annotated with the given annotation type on this
class and all super classes
|
WeldMethod<?,?> |
getWeldMethod(Method method)
Deprecated.
|
<M> WeldMethod<M,?> |
getWeldMethod(MethodSignature signature)
Get a method by name
|
Collection<WeldMethod<?,? super T>> |
getWeldMethods()
Gets all fields on the type
|
Collection<WeldMethod<?,?>> |
getWeldMethods(Class<? extends 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(Class<?> clazz)
Check if this is equivalent to a java class
|
boolean |
isLocalClass() |
boolean |
isMemberClass() |
boolean |
isModified() |
boolean |
isParameterizedType() |
boolean |
isSerializable() |
getActualTypeArguments, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getName, getPackage, getQualifiers, isFinal, isGeneric, isPackagePrivate, isPrimitive, isPrivate, isPublic, isStatic
Collection<WeldField<?,?>> getWeldFields()
Collection<WeldMethod<?,? super T>> getWeldMethods()
Collection<WeldMethod<?,? super T>> getDeclaredWeldMethods()
<F> WeldField<F,?> getDeclaredWeldField(String fieldName)
F
- the expected type of the fieldfieldName
- the field nameCollection<WeldField<?,?>> getWeldFields(Class<? extends Annotation> annotationType)
annotationType
- The annotation to matchCollection<WeldField<?,? super T>> getDeclaredWeldFields(Class<? extends Annotation> annotationType)
annotationType
- The annotation to matchCollection<WeldConstructor<T>> getWeldConstructors(Class<? extends Annotation> annotationType)
annotationType
- The annotation type to matchWeldConstructor<T> getNoArgsWeldConstructor()
WeldConstructor<T> getDeclaredWeldConstructor(ConstructorSignature signature)
parameterTypes
- the parameters of the constructorCollection<WeldMethod<?,?>> getWeldMethods(Class<? extends Annotation> annotationType)
annotationType
- The annotation to matchCollection<WeldMethod<?,? super T>> getDeclaredWeldMethods(Class<? extends Annotation> annotationType)
annotationType
- The annotation to match@Deprecated WeldMethod<?,?> getWeldMethod(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(Method method)
Collection<WeldMethod<?,? super T>> getDeclaredWeldMethodsWithAnnotatedParameters(Class<? extends Annotation> annotationType)
annotationType
- The annotation to matchWeldClass<? super T> getWeldSuperclass()
boolean isParameterizedType()
isParameterizedType
in interface WeldAnnotated<T,Class<T>>
boolean isAbstract()
boolean isEnum()
boolean isMemberClass()
boolean isLocalClass()
boolean isAnonymousClass()
boolean isSerializable()
boolean isDiscovered()
boolean isModified()
<S> S cast(Object object)
boolean isEquivalent(Class<?> clazz)
clazz
- The Java classString getSimpleName()
Collection<Annotation> getDeclaredMetaAnnotations(Class<? extends Annotation> metaAnnotationType)
The
- meta annotation to matchCopyright © 2013 Seam Framework. All rights reserved.