public abstract class ForwardingWeldClass<T> extends ForwardingWeldAnnotated<T,Class<T>> implements WeldClass<T>
MAPPED_DECLARED_METAANNOTATIONS, MAPPED_METAANNOTATIONS| Constructor and Description |
|---|
ForwardingWeldClass() |
| Modifier and Type | Method and Description |
|---|---|
<U> WeldClass<? extends U> |
asWeldSubclass(WeldClass<U> clazz) |
<S> S |
cast(Object object) |
protected abstract WeldClass<T> |
delegate() |
Set<javax.enterprise.inject.spi.AnnotatedConstructor<T>> |
getConstructors() |
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
|
<M> WeldMethod<M,?> |
getDeclaredWeldMethod(MethodSignature signature,
WeldClass<M> expectedReturnType) |
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
|
Set<javax.enterprise.inject.spi.AnnotatedField<? super T>> |
getFields() |
Set<javax.enterprise.inject.spi.AnnotatedMethod<? super T>> |
getMethods() |
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 |
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, isStaticequals, getAnnotation, getAnnotations, getBaseType, getTypeClosure, hashCode, isAnnotationPresent, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetActualTypeArguments, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getName, getPackage, getQualifiers, isFinal, isGeneric, isPackagePrivate, isPrimitive, isPrivate, isPublic, isStaticprotected abstract WeldClass<T> delegate()
delegate in class ForwardingWeldAnnotated<T,Class<T>>public Collection<WeldMethod<?,? super T>> getDeclaredWeldMethods()
WeldClassgetDeclaredWeldMethods in interface WeldClass<T>public <M> WeldMethod<M,?> getDeclaredWeldMethod(MethodSignature signature)
WeldClassgetDeclaredWeldMethod in interface WeldClass<T>M - the expected return typesignature - the name of the methodpublic Set<javax.enterprise.inject.spi.AnnotatedConstructor<T>> getConstructors()
getConstructors in interface javax.enterprise.inject.spi.AnnotatedType<T>public Set<javax.enterprise.inject.spi.AnnotatedMethod<? super T>> getMethods()
getMethods in interface javax.enterprise.inject.spi.AnnotatedType<T>public Set<javax.enterprise.inject.spi.AnnotatedField<? super T>> getFields()
getFields in interface javax.enterprise.inject.spi.AnnotatedType<T>public Collection<WeldConstructor<T>> getWeldConstructors(Class<? extends Annotation> annotationType)
WeldClassgetWeldConstructors in interface WeldClass<T>annotationType - The annotation type to matchpublic Collection<WeldField<?,?>> getWeldFields(Class<? extends Annotation> annotationType)
WeldClassgetWeldFields in interface WeldClass<T>annotationType - The annotation to matchpublic Collection<WeldMethod<?,?>> getWeldMethods(Class<? extends Annotation> annotationType)
WeldClassgetWeldMethods in interface WeldClass<T>annotationType - The annotation to matchpublic WeldConstructor<T> getNoArgsWeldConstructor()
WeldClassgetNoArgsWeldConstructor in interface WeldClass<T>public Collection<WeldMethod<?,? super T>> getWeldMethods()
WeldClassgetWeldMethods in interface WeldClass<T>public Collection<WeldField<?,? super T>> getDeclaredWeldFields(Class<? extends Annotation> annotationType)
WeldClassgetDeclaredWeldFields in interface WeldClass<T>annotationType - The annotation to matchpublic Collection<WeldMethod<?,? super T>> getDeclaredWeldMethods(Class<? extends Annotation> annotationType)
WeldClassgetDeclaredWeldMethods in interface WeldClass<T>annotationType - The annotation to matchpublic Collection<WeldMethod<?,? super T>> getDeclaredWeldMethodsWithAnnotatedParameters(Class<? extends Annotation> annotationType)
WeldClassgetDeclaredWeldMethodsWithAnnotatedParameters in interface WeldClass<T>annotationType - The annotation to matchpublic Collection<WeldField<?,?>> getWeldFields()
WeldClassgetWeldFields in interface WeldClass<T>@Deprecated public WeldMethod<?,?> getWeldMethod(Method method)
WeldClassgetWeldMethod in interface WeldClass<T>public <M> WeldMethod<M,?> getWeldMethod(MethodSignature signature)
WeldClassgetWeldMethod in interface WeldClass<T>M - the expected return typesignature - the name of the methodpublic WeldClass<? super T> getWeldSuperclass()
WeldClassgetWeldSuperclass in interface WeldClass<T>public boolean isLocalClass()
isLocalClass in interface WeldClass<T>public boolean isMemberClass()
isMemberClass in interface WeldClass<T>public boolean isAnonymousClass()
isAnonymousClass in interface WeldClass<T>public boolean isParameterizedType()
isParameterizedType in interface WeldAnnotated<T,Class<T>>isParameterizedType in interface WeldClass<T>isParameterizedType in class ForwardingWeldAnnotated<T,Class<T>>public boolean isAbstract()
isAbstract in interface WeldClass<T>public boolean isSerializable()
isSerializable in interface WeldClass<T>@Deprecated public WeldMethod<?,?> getDeclaredWeldMethod(Method method)
getDeclaredWeldMethod in interface WeldClass<T>public <F> WeldField<F,?> getDeclaredWeldField(String fieldName)
WeldClassgetDeclaredWeldField in interface WeldClass<T>F - the expected type of the fieldfieldName - the field namepublic <M> WeldMethod<M,?> getDeclaredWeldMethod(MethodSignature signature, WeldClass<M> expectedReturnType)
public WeldConstructor<T> getDeclaredWeldConstructor(ConstructorSignature signature)
WeldClassgetDeclaredWeldConstructor in interface WeldClass<T>public <U> WeldClass<? extends U> asWeldSubclass(WeldClass<U> clazz)
asWeldSubclass in interface WeldClass<T>public boolean isEquivalent(Class<?> clazz)
WeldClassisEquivalent in interface WeldClass<T>clazz - The Java classpublic String getSimpleName()
getSimpleName in interface WeldClass<T>public Collection<Annotation> getDeclaredMetaAnnotations(Class<? extends Annotation> metaAnnotationType)
WeldClassgetDeclaredMetaAnnotations in interface WeldClass<T>public boolean isDiscovered()
isDiscovered in interface WeldClass<T>public boolean isModified()
isModified in interface WeldClass<T>public boolean isMethodOverridden(WeldMethod<?,? super T> method)
isMethodOverridden in interface WeldClass<T>Copyright © 2014 Seam Framework. All Rights Reserved.