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