public class BackedAnnotatedMethod<X> extends BackedAnnotatedCallable<X,Method> implements AnnotatedMethod<X>, Serializable
BackedAnnotatedMember.BackedAnnotatedMemberSerializationProxy<X,A extends AnnotatedMember<? super X>>
Constructor and Description |
---|
BackedAnnotatedMethod(Method method,
BackedAnnotatedType<X> declaringType,
SharedObjectCache sharedObjectCache) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
protected AnnotatedElement |
getAnnotatedElement() |
<T extends Annotation> |
getAnnotation(Class<T> annotationType)
Get program element annotation of a certain annotation type.
|
Method |
getJavaMember()
Get the underlying
Method . |
int |
hashCode() |
protected List<AnnotatedParameter<X>> |
initParameters(Method method,
SharedObjectCache sharedObjectCache) |
boolean |
isAnnotationPresent(Class<? extends Annotation> annotationType)
Determine if the program element has an annotation of a certain annotation type.
|
static <X,Y extends X> |
of(Method method,
BackedAnnotatedType<Y> declaringType,
SharedObjectCache sharedObjectCache) |
String |
toString() |
getParameters
getDeclaringType, getReflectionCache, initTypeClosure, isStatic
getAnnotations, getTypeClosure
getBaseType
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getParameters
getDeclaringType, isStatic
getAnnotations, getBaseType, getTypeClosure
public BackedAnnotatedMethod(Method method, BackedAnnotatedType<X> declaringType, SharedObjectCache sharedObjectCache)
public static <X,Y extends X> AnnotatedMethod<X> of(Method method, BackedAnnotatedType<Y> declaringType, SharedObjectCache sharedObjectCache)
protected List<AnnotatedParameter<X>> initParameters(Method method, SharedObjectCache sharedObjectCache)
initParameters
in class BackedAnnotatedCallable<X,Method>
public Method getJavaMember()
AnnotatedMethod
Get the underlying Method
.
getJavaMember
in interface AnnotatedMember<X>
getJavaMember
in interface AnnotatedMethod<X>
Method
public <T extends Annotation> T getAnnotation(Class<T> annotationType)
Annotated
Get program element annotation of a certain annotation type.
getAnnotation
in interface Annotated
T
- the type of the annotationannotationType
- the class of the annotation typeprotected AnnotatedElement getAnnotatedElement()
getAnnotatedElement
in class BackedAnnotated
public boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
Annotated
Determine if the program element has an annotation of a certain annotation type.
isAnnotationPresent
in interface Annotated
annotationType
- the annotation type to check forCopyright © 2013 Seam Framework. All Rights Reserved.