Class ReflectionParameterNameProvider
- java.lang.Object
-
- org.hibernate.validator.parameternameprovider.ReflectionParameterNameProvider
-
- All Implemented Interfaces:
ParameterNameProvider
@Deprecated public class ReflectionParameterNameProvider extends Object implements ParameterNameProvider
Deprecated.since 6.0 - getting the parameter names via reflection is now enabled by default. Planned for removal.- Since:
- 5.2
- Author:
- Khalid Alqinyah
-
-
Constructor Summary
Constructors Constructor Description ReflectionParameterNameProvider()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List<String>getParameterNames(Constructor<?> constructor)Deprecated.Returns the names of the parameters of the given constructor.List<String>getParameterNames(Method method)Deprecated.Returns the names of the parameters of the given method.
-
-
-
Method Detail
-
getParameterNames
public List<String> getParameterNames(Constructor<?> constructor)
Deprecated.Description copied from interface:ParameterNameProviderReturns the names of the parameters of the given constructor.- Specified by:
getParameterNamesin interfaceParameterNameProvider- Parameters:
constructor- the constructor for which the parameter names shall be retrieved; nevernull- Returns:
- a list containing the names of the parameters of the given
constructor; may be empty but never
null
-
getParameterNames
public List<String> getParameterNames(Method method)
Deprecated.Description copied from interface:ParameterNameProviderReturns the names of the parameters of the given method.- Specified by:
getParameterNamesin interfaceParameterNameProvider- Parameters:
method- the method for which the parameter names shall be retrieved; nevernull- Returns:
- a list containing the names of the parameters of the given method;
may be empty but never
null
-
-