Package | Description |
---|---|
org.hibernate.validator.ap.internal.checks |
This package contains check implementations used by the annotation processor to verify
constraint declarations.
|
org.hibernate.validator.ap.internal.checks.annotationparameters |
Modifier and Type | Class and Description |
---|---|
class |
AbstractConstraintCheck
Abstract base class for
ConstraintCheck implementations. |
class |
AnnotationTypeCheck
Checks, that only constraint annotation types are annotated with other
constraint annotations ("constraint composition"), but not non-constraint
annotations.
|
class |
AnnotationTypeMemberCheck
Checks, that each constraint annotation type declares the members message(), groups() and payload() as
defined by the BV spec.
|
class |
ConstraintValidatorCheck
Checks, that for each constraint annotation type, which is not a composed constraint,
a validator implementation is specified using the
Constraint annotation. |
class |
CrossParameterConstraintCheck
Checks that a cross-parameter constraint is defined correctly with reference to the specifications.
|
class |
GetterCheck
Checks whether a given element is a valid getter method.
|
class |
GroupSequenceProviderCheck
Checks that the
GroupSequenceProvider
annotation definition is valid. |
class |
MethodAnnotationCheck
Checks whether a method is correctly annotated with a valid constraint involving the return type or the method
parameters (cross-parameters).
|
class |
MixDirectAndListAnnotationCheck
Checks, that there is no mixed usage of direct annotation and its list container.
|
class |
PrimitiveCheck
Validates that the given element is not of a primitive type.
|
class |
RetentionPolicyCheck
Checks, that
RetentionPolicy.RUNTIME is declared for constraint annotation types. |
class |
StaticCheck
Checks, that the given element is not a static element.
|
class |
TargetCheck
Checks, that at least one of the
ElementType s FIELD, METHOD, TYPE or ANNOTATION_TYPE is specified
using the Target meta-annotation for constraint annotation types. |
class |
TypeCheck
Checks, that constraint annotations are only specified at elements of a type supported by the constraints.
|
Constructor and Description |
---|
MultiValuedChecks(ConstraintHelper constraintHelper,
ConstraintCheck... checks)
Creates a new MultiValuedChecks.
|
SingleValuedChecks(ConstraintCheck... checks)
Creates a new SingleValuedChecks.
|
Modifier and Type | Class and Description |
---|---|
class |
AnnotationDefaultMessageCheck
Checks that the default annotation message parameter is valid and gives a warning otherwise.
|
class |
AnnotationMessageCheck
A base class to check that the message provided as annotation parameter is valid and gives a warning otherwise.
|
class |
AnnotationParametersAbstractCheck
Checks that parameters used on annotation are valid.
|
class |
AnnotationParametersDecimalMinMaxCheck
Checks that the parameters used on
javax.validation.constraints.DecimalMin and
javax.validation.constraints.DecimalMax annotations are valid. |
class |
AnnotationParametersDigitsCheck
Checks that the parameters used on
javax.validation.constraints.Digits annotations are valid. |
class |
AnnotationParametersGroupsCheck
Checks that the groups parameter of any constraint annotation contains only interfaces.
|
class |
AnnotationParametersPatternCheck
Checks that the parameters used on
javax.validation.constraints.Pattern annotations are valid. |
class |
AnnotationParametersScriptAssertCheck
Checks that the parameters used on
org.hibernate.validator.constraints.ScriptAssert annotations are valid. |
class |
AnnotationParametersSizeLengthCheck
Checks that the parameters used on
javax.validation.constraints.Size and
org.hibernate.validator.constraints.Length annotations are valid. |
class |
AnnotationPayloadUnwrappingCheck
Checks that payload only contains one value for unwrapping - either
Unwrapping.Unwrap
or Unwrapping.Skip |
class |
AnnotationUserMessageCheck
Checks that the message provided as annotation parameter by a user is valid and gives a warning otherwise.
|
class |
GroupSequenceCheck
Checks that the GroupSequence definition is valid.
|
Copyright © 2007-2022 Red Hat, Inc. All Rights Reserved