public interface Parameter
Modifier and Type | Method and Description |
---|---|
AlternateMessageSelector |
getAlternateMessageSelector()
Get an
AlternateMessageSelector instance associated with this
parameter, or null if none. |
<A extends Annotation> |
getAnnotation(Class<A> annotClass)
Get an annotation from this parameter.
|
int |
getIndex()
Get parameter index, starting from 0.
|
String |
getName()
Get the name of this parameter.
|
Type |
getType()
Get the type of this parameter.
|
boolean |
isAnnotationPresent(Class<? extends Annotation> annotClass)
Check if an annotation is present on this parameter.
|
AlternateMessageSelector getAlternateMessageSelector()
AlternateMessageSelector
instance associated with this
parameter, or null if none.AlternateMessageSelector
instance or null<A extends Annotation> A getAnnotation(Class<A> annotClass)
A
- annotClass
- int getIndex()
String getName()
getIndex()
if it cannot be
determinedType getType()
boolean isAnnotationPresent(Class<? extends Annotation> annotClass)
annotClass
- Copyright © 2018. All rights reserved.