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 null
null
List<String> getParameterNames(Method method)
method
- the method for which the parameter names shall be retrieved;
never null
null
Copyright © 2019 JBoss by Red Hat. All rights reserved.