protected class HandlerMethod.HandlerMethodParameter extends SynthesizingMethodParameter
| Modifier | Constructor and Description |
|---|---|
protected |
HandlerMethodParameter(HandlerMethod.HandlerMethodParameter original) |
|
HandlerMethodParameter(int index) |
| Modifier and Type | Method and Description |
|---|---|
HandlerMethod.HandlerMethodParameter |
clone() |
Class<?> |
getContainingClass() |
<T extends Annotation> |
getMethodAnnotation(Class<T> annotationType)
Return the method/constructor annotation of the given type, if available.
|
<T extends Annotation> |
hasMethodAnnotation(Class<T> annotationType)
Return whether the method/constructor is annotated with the given type.
|
adaptAnnotation, adaptAnnotationArray, forExecutable, forParameterdecreaseNestingLevel, equals, findParameterIndex, forMethodOrConstructor, getAnnotatedElement, getConstructor, getDeclaringClass, getExecutable, getGenericParameterType, getMember, getMethod, getMethodAnnotations, getNestedGenericParameterType, getNestedParameterType, getNestingLevel, getParameter, getParameterAnnotation, getParameterAnnotations, getParameterIndex, getParameterName, getParameterType, getTypeIndexForCurrentLevel, getTypeIndexForLevel, hashCode, hasParameterAnnotation, hasParameterAnnotations, increaseNestingLevel, initParameterNameDiscovery, isOptional, nested, nestedIfOptional, setTypeIndexForCurrentLevel, toStringpublic HandlerMethodParameter(int index)
protected HandlerMethodParameter(HandlerMethod.HandlerMethodParameter original)
public Class<?> getContainingClass()
getContainingClass in class MethodParameterpublic <T extends Annotation> T getMethodAnnotation(Class<T> annotationType)
MethodParametergetMethodAnnotation in class MethodParameterannotationType - the annotation type to look fornull if not foundpublic <T extends Annotation> boolean hasMethodAnnotation(Class<T> annotationType)
MethodParameterhasMethodAnnotation in class MethodParameterannotationType - the annotation type to look forMethodParameter.getMethodAnnotation(Class)public HandlerMethod.HandlerMethodParameter clone()
clone in class SynthesizingMethodParameter