Package | Description |
---|---|
org.hibernate.validator.ap.checks |
This package contains check implementations used by the annotation processor to verify
constraint declarations.
|
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 |
GetterCheck
Checks whether a given element is a valid getter method.
|
class |
GroupSequenceProviderCheck
Checks that the
GroupSequenceProvider
annotation definition is valid. |
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.
|
Copyright © 2007-2017 Red Hat, Inc. All Rights Reserved