public interface ParameterNameProvider
Used by the Bean Validation runtime when creating constraint violation objects for violated method constraints.
Implementations must be thread-safe.
修飾子とタイプ | メソッドと説明 |
---|---|
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 © 2007-2018 Red Hat Inc. All Rights Reserved. Released under the Apache Software License 2.0. Translated by @megascus.