Class ExecutableDescriptorImpl
java.lang.Object
org.hibernate.validator.internal.metadata.descriptor.ElementDescriptorImpl
org.hibernate.validator.internal.metadata.descriptor.ExecutableDescriptorImpl
- All Implemented Interfaces:
ConstructorDescriptor,ElementDescriptor,ExecutableDescriptor,MethodDescriptor,Serializable
public class ExecutableDescriptorImpl
extends ElementDescriptorImpl
implements ConstructorDescriptor, MethodDescriptor
Describes a validated constructor or method.
- Author:
- Gunnar Morling
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface jakarta.validation.metadata.ElementDescriptor
ElementDescriptor.ConstraintFinder -
Constructor Summary
ConstructorsConstructorDescriptionExecutableDescriptorImpl(Type returnType, String name, Set<ConstraintDescriptorImpl<?>> crossParameterConstraints, ReturnValueDescriptor returnValueDescriptor, List<ParameterDescriptor> parameters, boolean defaultGroupSequenceRedefined, boolean isGetter, List<Class<?>> defaultGroupSequence) -
Method Summary
Methods inherited from class org.hibernate.validator.internal.metadata.descriptor.ElementDescriptorImpl
findConstraints, getConstraintDescriptors, getElementClass, hasConstraintsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.validation.metadata.ElementDescriptor
getElementClassMethods inherited from interface jakarta.validation.metadata.ExecutableDescriptor
findConstraints, getConstraintDescriptors, hasConstraints
-
Constructor Details
-
ExecutableDescriptorImpl
public ExecutableDescriptorImpl(Type returnType, String name, Set<ConstraintDescriptorImpl<?>> crossParameterConstraints, ReturnValueDescriptor returnValueDescriptor, List<ParameterDescriptor> parameters, boolean defaultGroupSequenceRedefined, boolean isGetter, List<Class<?>> defaultGroupSequence)
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceExecutableDescriptor
-
getParameterDescriptors
- Specified by:
getParameterDescriptorsin interfaceExecutableDescriptor
-
getReturnValueDescriptor
- Specified by:
getReturnValueDescriptorin interfaceExecutableDescriptor
-
hasConstrainedParameters
public boolean hasConstrainedParameters()- Specified by:
hasConstrainedParametersin interfaceExecutableDescriptor
-
hasConstrainedReturnValue
public boolean hasConstrainedReturnValue()- Specified by:
hasConstrainedReturnValuein interfaceExecutableDescriptor
-
getCrossParameterDescriptor
- Specified by:
getCrossParameterDescriptorin interfaceExecutableDescriptor
-
toString
-
isGetter
public boolean isGetter()
-