protected class HandlerMethod.HandlerMethodParameter extends SynthesizingMethodParameter
Constructor and Description |
---|
HandlerMethodParameter(int index) |
Modifier and Type | Method and Description |
---|---|
Class<?> |
getContainingClass() |
<T extends Annotation> |
getMethodAnnotation(Class<T> annotationType)
Return the method/constructor annotation of the given type, if available.
|
adaptAnnotation, adaptAnnotationArray
decreaseNestingLevel, equals, forMethodOrConstructor, getAnnotatedElement, getConstructor, getDeclaringClass, getGenericParameterType, getMember, getMethod, getMethodAnnotations, getNestedGenericParameterType, getNestedParameterType, getNestingLevel, getParameterAnnotation, getParameterAnnotations, getParameterIndex, getParameterName, getParameterType, getTypeIndexForCurrentLevel, getTypeIndexForLevel, hashCode, hasParameterAnnotation, hasParameterAnnotations, increaseNestingLevel, initParameterNameDiscovery, setTypeIndexForCurrentLevel
public Class<?> getContainingClass()
getContainingClass
in class MethodParameter
public <T extends Annotation> T getMethodAnnotation(Class<T> annotationType)
MethodParameter
getMethodAnnotation
in class MethodParameter
annotationType
- the annotation type to look fornull
if not found