public class BackedAnnotatedMethod<X> extends BackedAnnotatedCallable<X,java.lang.reflect.Method> implements AnnotatedMethod<X>, java.io.Serializable
BackedAnnotatedMember.BackedAnnotatedMemberSerializationProxy<X,A extends AnnotatedMember<? super X>>| Constructor and Description |
|---|
BackedAnnotatedMethod(java.lang.reflect.Method method,
BackedAnnotatedType<X> declaringType,
SharedObjectCache sharedObjectCache) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
protected java.lang.reflect.AnnotatedElement |
getAnnotatedElement() |
<T extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<T> annotationType)
Get program element annotation of a certain annotation type.
|
java.lang.reflect.Method |
getJavaMember()
Get the underlying
Method. |
int |
hashCode() |
protected java.util.List<AnnotatedParameter<X>> |
initParameters(java.lang.reflect.Method method,
SharedObjectCache sharedObjectCache) |
boolean |
isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Determine if the program element has an annotation of a certain annotation type.
|
static <X,Y extends X> |
of(java.lang.reflect.Method method,
BackedAnnotatedType<Y> declaringType,
SharedObjectCache sharedObjectCache) |
java.lang.String |
toString() |
getParametersgetDeclaringType, getReflectionCache, isStaticgetAnnotations, getTypeClosure, initTypeClosuregetBaseTypeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetParametersgetDeclaringType, isStaticgetAnnotations, getBaseType, getTypeClosurepublic BackedAnnotatedMethod(java.lang.reflect.Method method,
BackedAnnotatedType<X> declaringType,
SharedObjectCache sharedObjectCache)
public static <X,Y extends X> AnnotatedMethod<X> of(java.lang.reflect.Method method, BackedAnnotatedType<Y> declaringType, SharedObjectCache sharedObjectCache)
protected java.util.List<AnnotatedParameter<X>> initParameters(java.lang.reflect.Method method, SharedObjectCache sharedObjectCache)
initParameters in class BackedAnnotatedCallable<X,java.lang.reflect.Method>public java.lang.reflect.Method getJavaMember()
AnnotatedMethod
Get the underlying Method.
getJavaMember in interface AnnotatedMember<X>getJavaMember in interface AnnotatedMethod<X>Methodpublic <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationType)
AnnotatedGet program element annotation of a certain annotation type.
getAnnotation in interface AnnotatedT - the type of the annotationannotationType - the class of the annotation typeprotected java.lang.reflect.AnnotatedElement getAnnotatedElement()
getAnnotatedElement in class BackedAnnotatedpublic boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
AnnotatedDetermine if the program element has an annotation of a certain annotation type.
isAnnotationPresent in interface AnnotatedannotationType - the annotation type to check forpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2015. All Rights Reserved.