Class DefaultParameterNameProvider
java.lang.Object
io.micronaut.configuration.hibernate.validator.DefaultParameterNameProvider
- All Implemented Interfaces:
jakarta.validation.ParameterNameProvider
@Singleton
public class DefaultParameterNameProvider
extends Object
implements jakarta.validation.ParameterNameProvider
Default implementation of the
ParameterNameProvider
interface that.- Since:
- 1.0
- Author:
- Graeme Rocher
-
Constructor Summary
ConstructorDescriptionDefaultParameterNameProvider
(io.micronaut.context.BeanContext beanContext) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiondefaultParameterTypes
(Class<?>[] parameterTypes) Add the parameter types to a list of names.getParameterNames
(Constructor<?> constructor) getParameterNames
(Method method)
-
Constructor Details
-
DefaultParameterNameProvider
public DefaultParameterNameProvider(io.micronaut.context.BeanContext beanContext) Constructor.- Parameters:
beanContext
- beanContext
-
-
Method Details
-
getParameterNames
- Specified by:
getParameterNames
in interfacejakarta.validation.ParameterNameProvider
-
getParameterNames
- Specified by:
getParameterNames
in interfacejakarta.validation.ParameterNameProvider
-
defaultParameterTypes
Add the parameter types to a list of names.- Parameters:
parameterTypes
- parameterTypes- Returns:
- list of strings
-