Class InvocableShellMethod.HandlerMethodParameter
java.lang.Object
org.springframework.core.MethodParameter
org.springframework.core.annotation.SynthesizingMethodParameter
org.springframework.shell.command.invocation.InvocableShellMethod.HandlerMethodParameter
- Enclosing class:
- InvocableShellMethod
protected class InvocableShellMethod.HandlerMethodParameter
extends org.springframework.core.annotation.SynthesizingMethodParameter
A MethodParameter with HandlerMethod-specific behavior.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Class<?>
<T extends Annotation>
TgetMethodAnnotation
(Class<T> annotationType) <T extends Annotation>
booleanhasMethodAnnotation
(Class<T> annotationType) Methods inherited from class org.springframework.core.annotation.SynthesizingMethodParameter
adaptAnnotation, adaptAnnotationArray, forExecutable, forParameter
Methods inherited from class org.springframework.core.MethodParameter
decreaseNestingLevel, equals, findParameterIndex, forFieldAwareConstructor, 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, nested, nestedIfOptional, setTypeIndexForCurrentLevel, toString, withContainingClass, withTypeIndex
-
Constructor Details
-
HandlerMethodParameter
public HandlerMethodParameter(int index) -
HandlerMethodParameter
-
-
Method Details
-
getContainingClass
- Overrides:
getContainingClass
in classorg.springframework.core.MethodParameter
-
getMethodAnnotation
- Overrides:
getMethodAnnotation
in classorg.springframework.core.MethodParameter
-
hasMethodAnnotation
- Overrides:
hasMethodAnnotation
in classorg.springframework.core.MethodParameter
-
clone
- Overrides:
clone
in classorg.springframework.core.annotation.SynthesizingMethodParameter
-