Top Description Inners Fields Constructors Methods
org.hibernate.validator.internal.metadata.provider

public Class AnnotationMetaDataProvider

extends Object
implements MetaDataProvider
Class Inheritance
All Implemented Interfaces
org.hibernate.validator.internal.metadata.provider.MetaDataProvider
Static Imports
org.hibernate.validator.internal.util.CollectionHelper.newArrayList, .CollectionHelper.newHashMap, .CollectionHelper.newHashSet, org.hibernate.validator.internal.util.logging.Messages.MESSAGES

MetaDataProvider which reads the metadata from annotations which is the default configuration source.
Authors
Gunnar Morling, Hardy Ferentschik, Guillaume Smet

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
private static class
private static class
private static interface
AnnotationMetaDataProvider.TypeArgumentLocation

The location of a type argument before it is really considered a constraint location.

private static class

Field Summary

Modifier and TypeField and Description
private final AnnotationProcessingOptions
private final ConstraintCreationContext
private final JavaBeanHelper
private static final Log
private final BeanConfiguration<Object>

Constructor Summary

AccessConstructor and Description
public
AnnotationMetaDataProvider(ConstraintCreationContext constraintCreationContext, JavaBeanHelper javaBeanHelper, AnnotationProcessingOptions annotationProcessingOptions)

Method Summary

Modifier and TypeMethod and Description
private <A extends Annotation> ConstraintDescriptorImpl<A>
private Set<MetaConstraint<?>>
convertToMetaConstraints(List<ConstraintDescriptorImpl<?>> constraintDescriptors, JavaBeanField javaBeanField)

private Set<MetaConstraint<?>>
convertToMetaConstraints(List<ConstraintDescriptorImpl<?>> constraintDescriptors, Callable callable)

private CascadingMetaDataBuilder
private CascadingMetaDataBuilder
private CascadingMetaDataBuilder
protected <
the annotation type
A extends Annotation
>
List<ConstraintDescriptorImpl<?>>

Returns:

A list of constraint descriptors or the empty list in case annotation is neither a single nor multi-valued annotation.
findConstraintAnnotations
(Constrainable
The constrainable to check for constraints annotations
constrainable
,
A
The annotation to examine
annotation
,
ConstraintLocation.ConstraintLocationKind
the element type on which the annotation/constraint is placed on
type
)

Examines the given annotation to see whether it is a single- or multi-valued constraint annotation.

private List<ConstraintDescriptorImpl<?>>

Returns:

A list of constraint descriptors for all constraint specified for the given member.
findConstraints
(JavaBeanAnnotatedConstrainable
The constrainable to check for constraint annotations.
constrainable
,
ConstraintLocation.ConstraintLocationKind
The constraint location kind.
kind
)

Finds all constraint annotations defined for the given constrainable and returns them in a list of constraint descriptors.

private List<ConstraintDescriptorImpl<?>>

Returns:

A list of constraint descriptors for all constraint specified for the given member.
findConstraints
(Constrainable
The constrainable element (will be the executable for a method parameter).
constrainable
,
JavaBeanAnnotatedElement
The annotated element. Usually the same as the constrainable except in the case of method parameters constraints when it is the parameter.
annotatedElement
,
ConstraintLocation.ConstraintLocationKind
The constraint location kind.
kind
)

Finds all constraint annotations defined for the given constrainable and returns them in a list of constraint descriptors.

private List<ConstraintDescriptorImpl<?>>

Returns:

A list of constraint descriptors for all constraint specified for the given member.
findConstraints
(Constrainable
The constrainable element (will be the executable for a method parameter).
constrainable
,
Annotation[]
The annotations.
annotations
,
ConstraintLocation.ConstraintLocationKind
The constraint location kind.
kind
)

Finds all constraint annotations defined for the given constrainable and returns them in a list of constraint descriptors.

private ConstrainedExecutable

Returns:

A meta data object describing the constraints specified for the given element.
findExecutableMetaData
(Executable
The executable element to check for constraints annotations.
executable
)

Finds all constraint annotations defined for the given method or constructor.

private ConstrainedField
protected Set<MetaConstraint<?>>
findTypeAnnotationConstraints(JavaBeanField javaBeanField)

Finds type arguments constraints for fields.

protected Set<MetaConstraint<?>>
findTypeAnnotationConstraints(JavaBeanExecutable<?> javaBeanExecutable)

Finds type arguments constraints for method return values.

protected Set<MetaConstraint<?>>

Returns:

a set of type arguments constraints, or an empty set if no constrained type arguments are found
findTypeAnnotationConstraintsForExecutableParameter
(JavaBeanExecutable<?> javaBeanExecutable, JavaBeanParameter
the parameter
javaBeanParameter
)

Finds type arguments constraints for parameters.

private Set<MetaConstraint<?>>
private Set<MetaConstraint<?>>
findTypeUseConstraints(Constrainable constrainable, AnnotatedType typeArgument, TypeVariable<?> typeVariable, AnnotationMetaDataProvider.TypeArgumentLocation location, Type type)

Finds type use annotation constraints defined on the type argument.

public AnnotationProcessingOptions
getAnnotationProcessingOptions()

Implements org.hibernate.validator.internal.metadata.provider.MetaDataProvider.getAnnotationProcessingOptions.

Returns the annotation processing options as configured by this provider.
public <T> BeanConfiguration<T>
getBeanConfiguration(Class<T> beanClass)

Implements org.hibernate.validator.internal.metadata.provider.MetaDataProvider.getBeanConfiguration.

Returns a bean configuration for the given type or null if this provider has no meta-data on the given type.
private CascadingMetaDataBuilder
getCascadingMetaData(JavaBeanAnnotatedElement annotatedElement, Map<TypeVariable<?>, CascadingMetaDataBuilder> containerElementTypesCascadingMetaData)

private Set<MetaConstraint<?>>
private Set<ConstrainedExecutable>
private List<Class<?>>
private <T> DefaultGroupSequenceProvider<? super T>
private Set<ConstrainedElement>
getFieldMetaData(Class<?> beanClass)

private Map<Class<?>, Class<?>>
private Map<Class<?>, Class<?>>
getGroupConversions(ConvertGroup groupConversion, ConvertGroup.List groupConversionList)

private Set<ConstrainedExecutable>
getMetaData(Executable[] executableElements)

private Set<ConstrainedExecutable>
private List<ConstrainedParameter>

Returns:

A list with parameter meta data for the given executable.
getParameterMetaData
(JavaBeanExecutable<?>
The executable of interest.
javaBeanExecutable
)

Retrieves constraint related meta data for the parameters of the given executable.

private Map<TypeVariable<?>, CascadingMetaDataBuilder>
private Map<TypeVariable<?>, CascadingMetaDataBuilder>
private Map<TypeVariable<?>, CascadingMetaDataBuilder>
private Map<TypeVariable<?>, CascadingMetaDataBuilder>
private <T> DefaultGroupSequenceProvider<? super T>
newGroupSequenceProviderClassInstance(Class<T> beanClass, Class<? extends DefaultGroupSequenceProvider<? super T>> providerClass)

private <T> BeanConfiguration<T>

Returns:

Retrieves constraint related meta data from the annotations of the given type.
retrieveBeanConfiguration
(Class<T>
The bean class for which to retrieve the meta data
beanClass
)

private <T> T
run(PrivilegedAction<T> action)

Runs the given privileged action, using a privileged block if required.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

annotationProcessingOptionsback to summary
private final AnnotationProcessingOptions annotationProcessingOptions
constraintCreationContextback to summary
private final ConstraintCreationContext constraintCreationContext
javaBeanHelperback to summary
private final JavaBeanHelper javaBeanHelper
LOGback to summary
private static final Log LOG
objectBeanConfigurationback to summary
private final BeanConfiguration<Object> objectBeanConfiguration

Constructor Detail

AnnotationMetaDataProviderback to summary
public AnnotationMetaDataProvider(ConstraintCreationContext constraintCreationContext, JavaBeanHelper javaBeanHelper, AnnotationProcessingOptions annotationProcessingOptions)

Method Detail

buildConstraintDescriptorback to summary
private <A extends Annotation> ConstraintDescriptorImpl<A> buildConstraintDescriptor(Constrainable constrainable, A annotation, ConstraintLocation.ConstraintLocationKind type)
convertToMetaConstraintsback to summary
private Set<MetaConstraint<?>> convertToMetaConstraints(List<ConstraintDescriptorImpl<?>> constraintDescriptors, JavaBeanField javaBeanField)
convertToMetaConstraintsback to summary
private Set<MetaConstraint<?>> convertToMetaConstraints(List<ConstraintDescriptorImpl<?>> constraintDescriptors, Callable callable)
findCascadingMetaDataback to summary
private CascadingMetaDataBuilder findCascadingMetaData(JavaBeanParameter javaBeanParameter)
findCascadingMetaDataback to summary
private CascadingMetaDataBuilder findCascadingMetaData(JavaBeanField javaBeanField)
findCascadingMetaDataback to summary
private CascadingMetaDataBuilder findCascadingMetaData(JavaBeanExecutable<?> javaBeanExecutable)
findConstraintAnnotationsback to summary
protected <A extends Annotation> List<ConstraintDescriptorImpl<?>> findConstraintAnnotations(Constrainable constrainable, A annotation, ConstraintLocation.ConstraintLocationKind type)

Examines the given annotation to see whether it is a single- or multi-valued constraint annotation.

Parameters
<A>
the annotation type
constrainable:Constrainable

The constrainable to check for constraints annotations

annotation:A

The annotation to examine

type:ConstraintLocation.ConstraintLocationKind

the element type on which the annotation/constraint is placed on

Returns:List<ConstraintDescriptorImpl<?>>

A list of constraint descriptors or the empty list in case annotation is neither a single nor multi-valued annotation.

findConstraintsback to summary
private List<ConstraintDescriptorImpl<?>> findConstraints(JavaBeanAnnotatedConstrainable constrainable, ConstraintLocation.ConstraintLocationKind kind)

Finds all constraint annotations defined for the given constrainable and returns them in a list of constraint descriptors.

Parameters
constrainable:JavaBeanAnnotatedConstrainable

The constrainable to check for constraint annotations.

kind:ConstraintLocation.ConstraintLocationKind

The constraint location kind.

Returns:List<ConstraintDescriptorImpl<?>>

A list of constraint descriptors for all constraint specified for the given member.

findConstraintsback to summary
private List<ConstraintDescriptorImpl<?>> findConstraints(Constrainable constrainable, JavaBeanAnnotatedElement annotatedElement, ConstraintLocation.ConstraintLocationKind kind)

Finds all constraint annotations defined for the given constrainable and returns them in a list of constraint descriptors.

Parameters
constrainable:Constrainable

The constrainable element (will be the executable for a method parameter).

annotatedElement:JavaBeanAnnotatedElement

The annotated element. Usually the same as the constrainable except in the case of method parameters constraints when it is the parameter.

kind:ConstraintLocation.ConstraintLocationKind

The constraint location kind.

Returns:List<ConstraintDescriptorImpl<?>>

A list of constraint descriptors for all constraint specified for the given member.

findConstraintsback to summary
private List<ConstraintDescriptorImpl<?>> findConstraints(Constrainable constrainable, Annotation[] annotations, ConstraintLocation.ConstraintLocationKind kind)

Finds all constraint annotations defined for the given constrainable and returns them in a list of constraint descriptors.

Parameters
constrainable:Constrainable

The constrainable element (will be the executable for a method parameter).

annotations:Annotation[]

The annotations.

kind:ConstraintLocation.ConstraintLocationKind

The constraint location kind.

Returns:List<ConstraintDescriptorImpl<?>>

A list of constraint descriptors for all constraint specified for the given member.

findExecutableMetaDataback to summary
private ConstrainedExecutable findExecutableMetaData(Executable executable)

Finds all constraint annotations defined for the given method or constructor.

Parameters
executable:Executable

The executable element to check for constraints annotations.

Returns:ConstrainedExecutable

A meta data object describing the constraints specified for the given element.

findPropertyMetaDataback to summary
private ConstrainedField findPropertyMetaData(JavaBeanField javaBeanField)
findTypeAnnotationConstraintsback to summary
protected Set<MetaConstraint<?>> findTypeAnnotationConstraints(JavaBeanField javaBeanField)

Finds type arguments constraints for fields.

findTypeAnnotationConstraintsback to summary
protected Set<MetaConstraint<?>> findTypeAnnotationConstraints(JavaBeanExecutable<?> javaBeanExecutable)

Finds type arguments constraints for method return values.

findTypeAnnotationConstraintsForExecutableParameterback to summary
protected Set<MetaConstraint<?>> findTypeAnnotationConstraintsForExecutableParameter(JavaBeanExecutable<?> javaBeanExecutable, JavaBeanParameter javaBeanParameter)

Finds type arguments constraints for parameters.

Parameters
javaBeanParameter:JavaBeanParameter

the parameter

Returns:Set<MetaConstraint<?>>

a set of type arguments constraints, or an empty set if no constrained type arguments are found

findTypeArgumentsConstraintsback to summary
private Set<MetaConstraint<?>> findTypeArgumentsConstraints(Constrainable constrainable, AnnotationMetaDataProvider.TypeArgumentLocation location, AnnotatedType annotatedType)
findTypeUseConstraintsback to summary
private Set<MetaConstraint<?>> findTypeUseConstraints(Constrainable constrainable, AnnotatedType typeArgument, TypeVariable<?> typeVariable, AnnotationMetaDataProvider.TypeArgumentLocation location, Type type)

Finds type use annotation constraints defined on the type argument.

getAnnotationProcessingOptionsback to summary
public AnnotationProcessingOptions getAnnotationProcessingOptions()

Implements org.hibernate.validator.internal.metadata.provider.MetaDataProvider.getAnnotationProcessingOptions.

Doc from org.hibernate.validator.internal.metadata.provider.MetaDataProvider.getAnnotationProcessingOptions.

Returns the annotation processing options as configured by this provider.

Returns:AnnotationProcessingOptions

The annotation processing options as configured by this provider.

Annotations
@Override
getBeanConfigurationback to summary
public <T> BeanConfiguration<T> getBeanConfiguration(Class<T> beanClass)

Implements org.hibernate.validator.internal.metadata.provider.MetaDataProvider.getBeanConfiguration.

Doc from org.hibernate.validator.internal.metadata.provider.MetaDataProvider.getBeanConfiguration.

Returns a bean configuration for the given type or null if this provider has no meta-data on the given type.

Annotations
@Override
@SuppressWarnings:unchecked
getCascadingMetaDataback to summary
private CascadingMetaDataBuilder getCascadingMetaData(JavaBeanAnnotatedElement annotatedElement, Map<TypeVariable<?>, CascadingMetaDataBuilder> containerElementTypesCascadingMetaData)
getClassLevelConstraintsback to summary
private Set<MetaConstraint<?>> getClassLevelConstraints(Class<?> clazz)
getConstructorMetaDataback to summary
private Set<ConstrainedExecutable> getConstructorMetaData(Class<?> clazz)
getDefaultGroupSequenceback to summary
private List<Class<?>> getDefaultGroupSequence(Class<?> beanClass)
getDefaultGroupSequenceProviderback to summary
private <T> DefaultGroupSequenceProvider<? super T> getDefaultGroupSequenceProvider(Class<T> beanClass)
getFieldMetaDataback to summary
private Set<ConstrainedElement> getFieldMetaData(Class<?> beanClass)
getGroupConversionsback to summary
private Map<Class<?>, Class<?>> getGroupConversions(AnnotatedType annotatedType)
getGroupConversionsback to summary
private Map<Class<?>, Class<?>> getGroupConversions(ConvertGroup groupConversion, ConvertGroup.List groupConversionList)
getMetaDataback to summary
private Set<ConstrainedExecutable> getMetaData(Executable[] executableElements)
getMethodMetaDataback to summary
private Set<ConstrainedExecutable> getMethodMetaData(Class<?> clazz)
getParameterMetaDataback to summary
private List<ConstrainedParameter> getParameterMetaData(JavaBeanExecutable<?> javaBeanExecutable)

Retrieves constraint related meta data for the parameters of the given executable.

Parameters
javaBeanExecutable:JavaBeanExecutable<?>

The executable of interest.

Returns:List<ConstrainedParameter>

A list with parameter meta data for the given executable.

getTypeParametersCascadingMetadataback to summary
private Map<TypeVariable<?>, CascadingMetaDataBuilder> getTypeParametersCascadingMetadata(AnnotatedType annotatedType, TypeVariable<?>[] typeParameters)
getTypeParametersCascadingMetaDataForAnnotatedTypeback to summary
private Map<TypeVariable<?>, CascadingMetaDataBuilder> getTypeParametersCascadingMetaDataForAnnotatedType(AnnotatedType annotatedType)
getTypeParametersCascadingMetaDataForArrayTypeback to summary
private Map<TypeVariable<?>, CascadingMetaDataBuilder> getTypeParametersCascadingMetaDataForArrayType(AnnotatedArrayType annotatedArrayType)
getTypeParametersCascadingMetaDataForParameterizedTypeback to summary
private Map<TypeVariable<?>, CascadingMetaDataBuilder> getTypeParametersCascadingMetaDataForParameterizedType(AnnotatedParameterizedType annotatedParameterizedType, TypeVariable<?>[] typeParameters)
newGroupSequenceProviderClassInstanceback to summary
private <T> DefaultGroupSequenceProvider<? super T> newGroupSequenceProviderClassInstance(Class<T> beanClass, Class<? extends DefaultGroupSequenceProvider<? super T>> providerClass)
retrieveBeanConfigurationback to summary
private <T> BeanConfiguration<T> retrieveBeanConfiguration(Class<T> beanClass)
Parameters
beanClass:Class<T>

The bean class for which to retrieve the meta data

Returns:BeanConfiguration<T>

Retrieves constraint related meta data from the annotations of the given type.

runback to summary
private <T> T run(PrivilegedAction<T> action)

Runs the given privileged action, using a privileged block if required.

Note

This must never be changed into a publicly available method to avoid execution of arbitrary privileged actions within HV's protection domain.

Annotations
@IgnoreForbiddenApisErrors
reason:SecurityManager is deprecated in JDK17
org.hibernate.validator.internal.metadata.provider back to summary

private Class AnnotationMetaDataProvider.NestedTypeArgumentLocation

extends Object
implements TypeArgumentLocation
Class Inheritance
  • java.lang.Object
  • org.hibernate.validator.internal.metadata.provider.AnnotationMetaDataProvider.NestedTypeArgumentLocation
All Implemented Interfaces
org.hibernate.validator.internal.metadata.provider.AnnotationMetaDataProvider.TypeArgumentLocation

Field Summary

Modifier and TypeField and Description
private final AnnotationMetaDataProvider.TypeArgumentLocation
private final Type
private final TypeVariable<?>

Constructor Summary

AccessConstructor and Description
private
NestedTypeArgumentLocation(AnnotationMetaDataProvider.TypeArgumentLocation parentLocation, TypeVariable<?> typeParameter, Type typeOfAnnotatedElement)

Method Summary

Modifier and TypeMethod and Description
public ConstraintLocation
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

parentLocationback to summary
private final AnnotationMetaDataProvider.TypeArgumentLocation parentLocation
typeOfAnnotatedElementback to summary
private final Type typeOfAnnotatedElement
typeParameterback to summary
private final TypeVariable<?> typeParameter

Constructor Detail

NestedTypeArgumentLocationback to summary
private NestedTypeArgumentLocation(AnnotationMetaDataProvider.TypeArgumentLocation parentLocation, TypeVariable<?> typeParameter, Type typeOfAnnotatedElement)

Method Detail

toConstraintLocationback to summary
public ConstraintLocation toConstraintLocation()

Implements org.hibernate.validator.internal.metadata.provider.AnnotationMetaDataProvider.TypeArgumentLocation.toConstraintLocation.

Annotations
@Override
org.hibernate.validator.internal.metadata.provider back to summary

private Class AnnotationMetaDataProvider.TypeArgumentExecutableParameterLocation

extends Object
implements TypeArgumentLocation
Class Inheritance
  • java.lang.Object
  • org.hibernate.validator.internal.metadata.provider.AnnotationMetaDataProvider.TypeArgumentExecutableParameterLocation
All Implemented Interfaces
org.hibernate.validator.internal.metadata.provider.AnnotationMetaDataProvider.TypeArgumentLocation

Field Summary

Modifier and TypeField and Description
private final int
private final JavaBeanExecutable<?>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public ConstraintLocation
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

indexback to summary
private final int index
javaBeanExecutableback to summary
private final JavaBeanExecutable<?> javaBeanExecutable

Constructor Detail

TypeArgumentExecutableParameterLocationback to summary
private TypeArgumentExecutableParameterLocation(JavaBeanExecutable<?> javaBeanExecutable, int index)

Method Detail

toConstraintLocationback to summary
public ConstraintLocation toConstraintLocation()

Implements org.hibernate.validator.internal.metadata.provider.AnnotationMetaDataProvider.TypeArgumentLocation.toConstraintLocation.

Annotations
@Override
org.hibernate.validator.internal.metadata.provider back to summary

private Class AnnotationMetaDataProvider.TypeArgumentFieldLocation

extends Object
implements TypeArgumentLocation
Class Inheritance
  • java.lang.Object
  • org.hibernate.validator.internal.metadata.provider.AnnotationMetaDataProvider.TypeArgumentFieldLocation
All Implemented Interfaces
org.hibernate.validator.internal.metadata.provider.AnnotationMetaDataProvider.TypeArgumentLocation

Field Summary

Modifier and TypeField and Description
private final JavaBeanField

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public ConstraintLocation
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

javaBeanFieldback to summary
private final JavaBeanField javaBeanField

Constructor Detail

TypeArgumentFieldLocationback to summary
private TypeArgumentFieldLocation(JavaBeanField javaBeanField)

Method Detail

toConstraintLocationback to summary
public ConstraintLocation toConstraintLocation()

Implements org.hibernate.validator.internal.metadata.provider.AnnotationMetaDataProvider.TypeArgumentLocation.toConstraintLocation.

Annotations
@Override
org.hibernate.validator.internal.metadata.provider back to summary

private Interface AnnotationMetaDataProvider.TypeArgumentLocation

Known Direct Implementers
org.hibernate.validator.internal.metadata.provider.AnnotationMetaDataProvider.TypeArgumentExecutableParameterLocation, org.hibernate.validator.internal.metadata.provider.AnnotationMetaDataProvider.TypeArgumentFieldLocation, org.hibernate.validator.internal.metadata.provider.AnnotationMetaDataProvider.TypeArgumentReturnValueLocation, org.hibernate.validator.internal.metadata.provider.AnnotationMetaDataProvider.NestedTypeArgumentLocation

The location of a type argument before it is really considered a constraint location.

It avoids initializing a constraint location if we did not find any constraints. This is especially useful in a Java 9 environment as ConstraintLocation#forField(org.hibernate.validator.internal.properties.Field) or ConstraintLocation#forGetter(Getter) tries to make the Member accessible which might not be possible (for instance for java.util classes).

Method Summary

Modifier and TypeMethod and Description
public ConstraintLocation

Method Detail

toConstraintLocationback to summary
public ConstraintLocation toConstraintLocation()
org.hibernate.validator.internal.metadata.provider back to summary

private Class AnnotationMetaDataProvider.TypeArgumentReturnValueLocation

extends Object
implements TypeArgumentLocation
Class Inheritance
  • java.lang.Object
  • org.hibernate.validator.internal.metadata.provider.AnnotationMetaDataProvider.TypeArgumentReturnValueLocation
All Implemented Interfaces
org.hibernate.validator.internal.metadata.provider.AnnotationMetaDataProvider.TypeArgumentLocation

Field Summary

Modifier and TypeField and Description
private final JavaBeanExecutable<?>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public ConstraintLocation
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

javaBeanExecutableback to summary
private final JavaBeanExecutable<?> javaBeanExecutable

Constructor Detail

TypeArgumentReturnValueLocationback to summary
private TypeArgumentReturnValueLocation(JavaBeanExecutable<?> javaBeanExecutable)

Method Detail

toConstraintLocationback to summary
public ConstraintLocation toConstraintLocation()

Implements org.hibernate.validator.internal.metadata.provider.AnnotationMetaDataProvider.TypeArgumentLocation.toConstraintLocation.

Annotations
@Override