Interface ParameterDeclaration
ParameterDeclaration encapsulates the declaration of an
indexed @ParameterizedClass or @ParameterizedTest parameter.- Since:
- 5.13
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns theAnnotatedElementthat declares the parameter; nevernull.intReturns the index of the parameter.Returns the name of the parameter, if available; nevernullbut potentially empty.Class<?> Returns the type of the parameter; nevernull.
-
Method Details
-
getAnnotatedElement
AnnotatedElement getAnnotatedElement()Returns theAnnotatedElementthat declares the parameter; nevernull.- Returns:
- the
AnnotatedElementthat declares the parameter; nevernull
-
getParameterType
Class<?> getParameterType()Returns the type of the parameter; nevernull.- Returns:
- the type of the parameter; never
null
-
getParameterIndex
int getParameterIndex()Returns the index of the parameter.- Returns:
- the index of the parameter
-
getParameterName
-