public interface ParameterNameProvider
Used by the Jakarta 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 © 2018,2020 Eclipse Foundation.
Use is subject to license terms.