|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.webbeans.introspector.ForwardingAnnotatedItem<T,java.lang.Class<T>>
org.jboss.webbeans.introspector.ForwardingAnnotatedType<T>
org.jboss.webbeans.introspector.ForwardingAnnotatedClass<T>
public abstract class ForwardingAnnotatedClass<T>
Field Summary |
---|
Fields inherited from interface org.jboss.webbeans.introspector.AnnotatedItem |
---|
MAPPED_METAANNOTATIONS |
Constructor Summary | |
---|---|
ForwardingAnnotatedClass()
|
Method Summary | ||
---|---|---|
|
asSubclass(AnnotatedClass<U> clazz)
|
|
|
cast(java.lang.Object object)
|
|
protected abstract AnnotatedClass<T> |
delegate()
Gets the annotated item |
|
java.util.Set<AnnotatedConstructor<T>> |
getAnnotatedConstructors(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Gets all constructors which are annotated with annotationType |
|
java.util.Set<AnnotatedField<?>> |
getAnnotatedFields(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<AnnotatedMethod<?>> |
getAnnotatedMethods(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Gets all methods annotated with annotationType |
|
java.util.Set<AnnotatedConstructor<T>> |
getConstructors()
Gets all constructors |
|
java.util.Set<AnnotatedField<?>> |
getDeclaredAnnotatedFields(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<AnnotatedMethod<?>> |
getDeclaredAnnotatedMethods(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Gets all methods annotated with annotationType |
|
AnnotatedConstructor<T> |
getDeclaredConstructor(ConstructorSignature signature)
Get the constructor which matches the argument list provided |
|
|
getDeclaredField(java.lang.String fieldName,
AnnotatedClass<F> expectedType)
Get a field by name |
|
AnnotatedMethod<?> |
getDeclaredMethod(java.lang.reflect.Method method)
Deprecated. |
|
|
getDeclaredMethod(MethodSignature signature,
AnnotatedClass<M> expectedReturnType)
Get a method by name |
|
java.util.Set<AnnotatedMethod<?>> |
getDeclaredMethodsWithAnnotatedParameters(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Gets all with parameters annotated with annotationType |
|
java.util.Set<AnnotatedField<?>> |
getFields()
Gets all fields on the type |
|
java.util.Set<AnnotatedField<?>> |
getMetaAnnotatedFields(java.lang.Class<? extends java.lang.annotation.Annotation> metaAnnotationType)
Gets all fields which are meta-annotated with metaAnnotationType |
|
AnnotatedMethod<?> |
getMethod(java.lang.reflect.Method method)
Deprecated. |
|
java.util.Set<AnnotatedMethod<?>> |
getMethodsWithAnnotatedParameters(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Gets all with parameters annotated with annotationType |
|
AnnotatedConstructor<T> |
getNoArgsConstructor()
Gets the no-args constructor |
|
AnnotatedClass<?> |
getSuperclass()
Gets the superclass of the type |
|
boolean |
isAbstract()
|
|
boolean |
isEnum()
|
|
boolean |
isNonStaticMemberClass()
Determine if this is a non-static member class |
|
boolean |
isParameterizedType()
|
Methods inherited from class org.jboss.webbeans.introspector.ForwardingAnnotatedType |
---|
getSimpleName, isEquivalent |
Methods inherited from class org.jboss.webbeans.introspector.ForwardingAnnotatedItem |
---|
equals, getActualTypeArguments, getAnnotation, getAnnotationsAsSet, getAnnotationStore, getBindings, getBindingsAsArray, getDeclaredMetaAnnotations, getFlattenedTypeHierarchy, getMetaAnnotations, getMetaAnnotationsAsArray, getName, getRawType, getType, hashCode, isAnnotationPresent, isAssignableFrom, isAssignableFrom, isDeclaredAnnotationPresent, isFinal, isProxyable, isPublic, isStatic, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.jboss.webbeans.introspector.AnnotatedType |
---|
getSimpleName, isEquivalent |
Methods inherited from interface org.jboss.webbeans.introspector.AnnotatedItem |
---|
getActualTypeArguments, getAnnotation, getAnnotationsAsSet, getAnnotationStore, getBindings, getBindingsAsArray, getDeclaredMetaAnnotations, getFlattenedTypeHierarchy, getMetaAnnotations, getMetaAnnotationsAsArray, getName, getRawType, getType, isAnnotationPresent, isAssignableFrom, isAssignableFrom, isDeclaredAnnotationPresent, isFinal, isProxyable, isPublic, isStatic |
Constructor Detail |
---|
public ForwardingAnnotatedClass()
Method Detail |
---|
protected abstract AnnotatedClass<T> delegate()
ForwardingAnnotatedItem
delegate
in class ForwardingAnnotatedType<T>
public java.util.Set<AnnotatedConstructor<T>> getAnnotatedConstructors(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
AnnotatedClass
getAnnotatedConstructors
in interface AnnotatedClass<T>
annotationType
- The annotation type to match
public java.util.Set<AnnotatedField<?>> getAnnotatedFields(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
AnnotatedClass
getAnnotatedFields
in interface AnnotatedClass<T>
annotationType
- The annotation to match
public java.util.Set<AnnotatedMethod<?>> getAnnotatedMethods(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
AnnotatedClass
getAnnotatedMethods
in interface AnnotatedClass<T>
annotationType
- The annotation to match
public AnnotatedConstructor<T> getNoArgsConstructor()
AnnotatedClass
getNoArgsConstructor
in interface AnnotatedClass<T>
public java.util.Set<AnnotatedConstructor<T>> getConstructors()
AnnotatedClass
getConstructors
in interface AnnotatedClass<T>
public java.util.Set<AnnotatedField<?>> getDeclaredAnnotatedFields(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
AnnotatedClass
getDeclaredAnnotatedFields
in interface AnnotatedClass<T>
annotationType
- The annotation to match
public java.util.Set<AnnotatedMethod<?>> getDeclaredAnnotatedMethods(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
AnnotatedClass
getDeclaredAnnotatedMethods
in interface AnnotatedClass<T>
annotationType
- The annotation to match
public java.util.Set<AnnotatedMethod<?>> getDeclaredMethodsWithAnnotatedParameters(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
AnnotatedClass
getDeclaredMethodsWithAnnotatedParameters
in interface AnnotatedClass<T>
annotationType
- The annotation to match
public java.util.Set<AnnotatedField<?>> getFields()
AnnotatedClass
getFields
in interface AnnotatedClass<T>
public java.util.Set<AnnotatedField<?>> getMetaAnnotatedFields(java.lang.Class<? extends java.lang.annotation.Annotation> metaAnnotationType)
AnnotatedClass
getMetaAnnotatedFields
in interface AnnotatedClass<T>
metaAnnotationType
- The meta annotation to match
@Deprecated public AnnotatedMethod<?> getMethod(java.lang.reflect.Method method)
AnnotatedClass
getMethod
in interface AnnotatedClass<T>
public java.util.Set<AnnotatedMethod<?>> getMethodsWithAnnotatedParameters(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
AnnotatedClass
getMethodsWithAnnotatedParameters
in interface AnnotatedClass<T>
annotationType
- The annotation to match
public AnnotatedClass<?> getSuperclass()
AnnotatedType
getSuperclass
in interface AnnotatedClass<T>
getSuperclass
in interface AnnotatedType<T>
getSuperclass
in class ForwardingAnnotatedType<T>
public boolean isNonStaticMemberClass()
AnnotatedClass
isNonStaticMemberClass
in interface AnnotatedClass<T>
public boolean isParameterizedType()
isParameterizedType
in interface AnnotatedClass<T>
isParameterizedType
in interface AnnotatedItem<T,java.lang.Class<T>>
isParameterizedType
in class ForwardingAnnotatedItem<T,java.lang.Class<T>>
public boolean isAbstract()
isAbstract
in interface AnnotatedClass<T>
public boolean isEnum()
isEnum
in interface AnnotatedClass<T>
@Deprecated public AnnotatedMethod<?> getDeclaredMethod(java.lang.reflect.Method method)
getDeclaredMethod
in interface AnnotatedClass<T>
public <F> AnnotatedField<F> getDeclaredField(java.lang.String fieldName, AnnotatedClass<F> expectedType)
AnnotatedClass
getDeclaredField
in interface AnnotatedClass<T>
F
- the expected type of the fieldfieldName
- the field nameexpectedType
- the expected type of the field
public <M> AnnotatedMethod<M> getDeclaredMethod(MethodSignature signature, AnnotatedClass<M> expectedReturnType)
AnnotatedClass
getDeclaredMethod
in interface AnnotatedClass<T>
M
- the expected return typesignature
- the name of the methodexpectedReturnType
- the expected return type
public AnnotatedConstructor<T> getDeclaredConstructor(ConstructorSignature signature)
AnnotatedClass
getDeclaredConstructor
in interface AnnotatedClass<T>
public <U> AnnotatedClass<? extends U> asSubclass(AnnotatedClass<U> clazz)
asSubclass
in interface AnnotatedClass<T>
public <S> S cast(java.lang.Object object)
cast
in interface AnnotatedClass<T>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |