|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ParameterNameProvider
Provides names for method and constructor parameters.
Used by the Bean Validation runtime when creating constraint violation objects for violated method constraints.
Implementations must be thread-safe.
Method Summary | |
---|---|
String[] |
getParameterNames(Constructor<?> constructor)
Returns the names of the parameters of the given constructor. |
String[] |
getParameterNames(Method method)
Returns the names of the parameters of the given method. |
Method Detail |
---|
String[] getParameterNames(Constructor<?> constructor)
constructor
- The constructor for which the parameter names shall be
retrieved. Never null.
String[] getParameterNames(Method method)
method
- The method for which the parameter names shall be retrieved.
Never null.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |