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 null
null
List<String> getParameterNames(Method method)
method
- the method for which the parameter names shall be retrieved;
never null
null
Comments to: bean-validation-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation.
Use is subject to EFSL; this spec is based on material that is licensed under the Apache License, version 2.0.