ParameterDeclaration encapsulates the declaration of an
indexed @ParameterizedClass or @ParameterizedTest parameter.
ParameterDeclarations
| Modifier and Type | Method and Description |
|---|---|
| public AnnotatedElement | |
| public int | |
| public Optional | Returns: the name of the parameter, if available; nevernull but
potentially emptyReturns the name of the parameter, if available; never |
| public Class | Returns: the type of the parameter; nevernullReturns the type of the parameter; never |
| getAnnotatedElement | back to summary |
|---|---|
| public AnnotatedElement getAnnotatedElement() Returns the This is either a
| |
| getParameterIndex | back to summary |
|---|---|
| public int getParameterIndex() Returns the index of the parameter.
| |
| getParameterName | back to summary |
|---|---|
| public Optional Returns the name of the parameter, if available; never | |
| getParameterType | back to summary |
|---|---|
| public Class Returns the type of the parameter; never
| |