public interface ParameterNameProvider
Used by the Bean Validation runtime when creating constraint violation objects for violated method constraints.
Implementations must be thread-safe.
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getParameterNames(Constructor<?> constructor)
Returns the names of the parameters of the given constructor.
|
List<String> |
getParameterNames(Method method)
Returns the names of the parameters of the given method.
|
List<String> getParameterNames(Constructor<?> constructor)
constructor - the constructor for which the parameter names shall be
retrieved; never nullnullList<String> getParameterNames(Method method)
method - the method for which the parameter names shall be retrieved;
never nullnullCopyright © 2007-2017 Red Hat Inc. All Rights Reserved. Released under the Apache Software License 2.0.