A C D E F G H I J K L M N O P R S T U V 

A

AbstractConstraintCheck - Class in org.hibernate.validator.ap.checks
Abstract base class for ConstraintCheck implementations.
AbstractConstraintCheck() - Constructor for class org.hibernate.validator.ap.checks.AbstractConstraintCheck
 
AnnotationApiHelper - Class in org.hibernate.validator.ap.util
A helper class providing some useful methods to work with types from the JSR-269-API.
AnnotationApiHelper(Elements, Types) - Constructor for class org.hibernate.validator.ap.util.AnnotationApiHelper
 
AnnotationTypeCheck - Class in org.hibernate.validator.ap.checks
Checks, that only constraint annotation types are annotated with other constraint annotations ("constraint composition"), but not non-constraint annotations.
AnnotationTypeCheck(ConstraintHelper) - Constructor for class org.hibernate.validator.ap.checks.AnnotationTypeCheck
 
AnnotationTypeMemberCheck - Class in org.hibernate.validator.ap.checks
Checks, that each constraint annotation type declares the members message(), groups() and payload() as defined by the BV spec.
AnnotationTypeMemberCheck(AnnotationApiHelper, Types) - Constructor for class org.hibernate.validator.ap.checks.AnnotationTypeMemberCheck
 
ASSERT_FALSE - Static variable in class org.hibernate.validator.ap.util.TypeNames.BeanValidationTypes
 
ASSERT_TRUE - Static variable in class org.hibernate.validator.ap.util.TypeNames.BeanValidationTypes
 
asSet(T...) - Static method in class org.hibernate.validator.ap.util.CollectionHelper
 

C

checkAnnotationType(TypeElement, AnnotationMirror) - Method in class org.hibernate.validator.ap.checks.AbstractConstraintCheck
 
checkAnnotationType(TypeElement, AnnotationMirror) - Method in class org.hibernate.validator.ap.checks.AnnotationTypeCheck
 
checkAnnotationType(TypeElement, AnnotationMirror) - Method in class org.hibernate.validator.ap.checks.AnnotationTypeMemberCheck
 
checkAnnotationType(TypeElement, AnnotationMirror) - Method in interface org.hibernate.validator.ap.checks.ConstraintCheck
Checks, whether the given annotation is allowed at the given annotation type declaration.
checkAnnotationType(TypeElement, AnnotationMirror) - Method in class org.hibernate.validator.ap.checks.ConstraintValidatorCheck
 
checkAnnotationType(TypeElement, AnnotationMirror) - Method in class org.hibernate.validator.ap.checks.RetentionPolicyCheck
 
checkAnnotationType(TypeElement, AnnotationMirror) - Method in class org.hibernate.validator.ap.checks.TargetCheck
 
checkConstraint(DeclaredType, TypeMirror) - Method in class org.hibernate.validator.ap.util.ConstraintHelper
Checks whether the given annotation type (which must be a constraint annotation type) may be specified at elements of the specified type.
checkField(VariableElement, AnnotationMirror) - Method in class org.hibernate.validator.ap.checks.AbstractConstraintCheck
 
checkField(VariableElement, AnnotationMirror) - Method in interface org.hibernate.validator.ap.checks.ConstraintCheck
Checks, whether the given annotation is allowed at the given field.
checkField(VariableElement, AnnotationMirror) - Method in class org.hibernate.validator.ap.checks.PrimitiveCheck
 
checkField(VariableElement, AnnotationMirror) - Method in class org.hibernate.validator.ap.checks.StaticCheck
 
checkField(VariableElement, AnnotationMirror) - Method in class org.hibernate.validator.ap.checks.TypeCheck
 
checkMethod(ExecutableElement, AnnotationMirror) - Method in class org.hibernate.validator.ap.checks.AbstractConstraintCheck
 
checkMethod(ExecutableElement, AnnotationMirror) - Method in interface org.hibernate.validator.ap.checks.ConstraintCheck
Checks, whether the given annotation is allowed at the given method.
checkMethod(ExecutableElement, AnnotationMirror) - Method in class org.hibernate.validator.ap.checks.GetterCheck
 
checkMethod(ExecutableElement, AnnotationMirror) - Method in class org.hibernate.validator.ap.checks.PrimitiveCheck
 
checkMethod(ExecutableElement, AnnotationMirror) - Method in class org.hibernate.validator.ap.checks.StaticCheck
 
checkMethod(ExecutableElement, AnnotationMirror) - Method in class org.hibernate.validator.ap.checks.TypeCheck
 
checkNonAnnotationType(TypeElement, AnnotationMirror) - Method in class org.hibernate.validator.ap.checks.AbstractConstraintCheck
 
checkNonAnnotationType(TypeElement, AnnotationMirror) - Method in interface org.hibernate.validator.ap.checks.ConstraintCheck
Checks, whether the given annotation is allowed at the given type declaration (class, interface, enum).
checkNonAnnotationType(TypeElement, AnnotationMirror) - Method in class org.hibernate.validator.ap.checks.GroupSequenceProviderCheck
 
checkNonAnnotationType(TypeElement, AnnotationMirror) - Method in class org.hibernate.validator.ap.checks.TypeCheck
 
CollectionHelper - Class in org.hibernate.validator.ap.util
Provides some methods for simplified collection instantiation.
CollectionHelper() - Constructor for class org.hibernate.validator.ap.util.CollectionHelper
 
Configuration - Class in org.hibernate.validator.ap.util
Provides access to the processor options supported by the Hibernate Validator annotation processor.
Configuration(Map<String, String>, Messager) - Constructor for class org.hibernate.validator.ap.util.Configuration
 
CONSTRAINT - Static variable in class org.hibernate.validator.ap.util.TypeNames.BeanValidationTypes
 
CONSTRAINT_VALIDATOR - Static variable in class org.hibernate.validator.ap.util.TypeNames.BeanValidationTypes
 
ConstraintCheck - Interface in org.hibernate.validator.ap.checks
Implementations represent checks, which determine whether a given constraint annotation is allowed at a given element.
ConstraintCheckError - Class in org.hibernate.validator.ap.checks
The result of the execution of a ConstraintCheck.
ConstraintCheckError(Element, AnnotationMirror, String, Object...) - Constructor for class org.hibernate.validator.ap.checks.ConstraintCheckError
Creates a new ConstraintCheckError.
ConstraintCheckFactory - Class in org.hibernate.validator.ap.checks
A factory in charge of determining the ConstraintChecks required for the validation of annotations at given elements.
ConstraintCheckFactory(Types, ConstraintHelper, AnnotationApiHelper, boolean) - Constructor for class org.hibernate.validator.ap.checks.ConstraintCheckFactory
 
ConstraintChecks - Interface in org.hibernate.validator.ap.checks
Represents an ordered set of ConstraintChecks with the ability to execute these checks against given elements and their annotations.
ConstraintHelper - Class in org.hibernate.validator.ap.util
Helper class that deals with all constraint-related stuff, such as determining whether a given annotation represents a constraint annotation or whether a given annotation is allowed to be declared at a given element.
ConstraintHelper(Types, AnnotationApiHelper) - Constructor for class org.hibernate.validator.ap.util.ConstraintHelper
 
ConstraintHelper.AnnotationType - Enum in org.hibernate.validator.ap.util
The type of an annotation with respect to the BV API.
ConstraintHelper.ConstraintCheckResult - Enum in org.hibernate.validator.ap.util
Possible results of a constraint check as returned by ConstraintHelper.checkConstraint(DeclaredType, TypeMirror).
ConstraintValidationProcessor - Class in org.hibernate.validator.ap
An annotation processor for checking Bean Validation constraints.
ConstraintValidationProcessor() - Constructor for class org.hibernate.validator.ap.ConstraintValidationProcessor
 
ConstraintValidatorCheck - Class in org.hibernate.validator.ap.checks
Checks, that for each constraint annotation type, which is not a composed constraint, a validator implementation is specified using the Constraint annotation.
ConstraintValidatorCheck(ConstraintHelper, AnnotationApiHelper) - Constructor for class org.hibernate.validator.ap.checks.ConstraintValidatorCheck
 

D

DECIMAL_MAX - Static variable in class org.hibernate.validator.ap.util.TypeNames.BeanValidationTypes
 
DECIMAL_MIN - Static variable in class org.hibernate.validator.ap.util.TypeNames.BeanValidationTypes
 
DEFAULT_DIAGNOSTIC_KIND - Static variable in class org.hibernate.validator.ap.util.Configuration
The diagnostic kind to be used if no or an invalid kind is given as processor option.
DEFAULT_GROUP_SEQUENCE_PROVIDER - Static variable in class org.hibernate.validator.ap.util.TypeNames.HibernateValidatorTypes
 
DIAGNOSTIC_KIND_PROCESSOR_OPTION - Static variable in class org.hibernate.validator.ap.util.Configuration
The name of the processor option for setting the diagnostic kind to be used when reporting errors during annotation processing.
DIGITS - Static variable in class org.hibernate.validator.ap.util.TypeNames.BeanValidationTypes
 

E

EMAIL - Static variable in class org.hibernate.validator.ap.util.TypeNames.HibernateValidatorTypes
 
equals(Object) - Method in class org.hibernate.validator.ap.checks.ConstraintCheckError
 
execute(Element, AnnotationMirror) - Method in interface org.hibernate.validator.ap.checks.ConstraintChecks
Executes the checks contained within this set against the given element and annotation.
execute(Element, AnnotationMirror) - Method in class org.hibernate.validator.ap.checks.MultiValuedChecks
 
execute(Element, AnnotationMirror) - Method in class org.hibernate.validator.ap.checks.SingleValuedChecks
 

F

filterByType(List<? extends AnnotationMirror>, TypeMirror) - Method in class org.hibernate.validator.ap.util.AnnotationApiHelper
Returns a list containing those annotation mirrors from the input list, which are of type annotationType.
FUTURE - Static variable in class org.hibernate.validator.ap.util.TypeNames.BeanValidationTypes
 

G

getAnnotationArrayValue(AnnotationMirror, String) - Method in class org.hibernate.validator.ap.util.AnnotationApiHelper
Returns the given annotation mirror's array-typed annotation value with the given name.
getAnnotationMirror() - Method in class org.hibernate.validator.ap.checks.ConstraintCheckError
 
getAnnotationType(AnnotationMirror) - Method in class org.hibernate.validator.ap.util.ConstraintHelper
Returns the ConstraintHelper.AnnotationType of the given annotation.
getAnnotationValue(AnnotationMirror, String) - Method in class org.hibernate.validator.ap.util.AnnotationApiHelper
Returns the annotation value of the given annotation mirror with the given name.
getConstraintChecks(Element, AnnotationMirror) - Method in class org.hibernate.validator.ap.checks.ConstraintCheckFactory
Returns those checks that have to be performed to validate the given annotation at the given element.
getDeclaredTypeByName(String) - Method in class org.hibernate.validator.ap.util.AnnotationApiHelper
Returns the DeclaredType for the given class name.
getDelegate() - Method in class org.hibernate.validator.ap.util.MessagerAdapter
Returns the messager used by this adapter.
getDiagnosticKind() - Method in class org.hibernate.validator.ap.util.Configuration
Returns the diagnosticKind to be used when reporting failing constraint checks.
getElement() - Method in class org.hibernate.validator.ap.checks.ConstraintCheckError
 
getMessageKey() - Method in class org.hibernate.validator.ap.checks.ConstraintCheckError
 
getMessageParameters() - Method in class org.hibernate.validator.ap.checks.ConstraintCheckError
 
getMirror(List<? extends AnnotationMirror>, Class<? extends Annotation>) - Method in class org.hibernate.validator.ap.util.AnnotationApiHelper
Returns that mirror from the given list of annotation mirrors that represents the annotation type specified by the given class.
getMirror(List<? extends AnnotationMirror>, String) - Method in class org.hibernate.validator.ap.util.AnnotationApiHelper
Returns that mirror from the given list of annotation mirrors that represents the annotation type specified by the given class.
getMirrorForType(Class<?>) - Method in class org.hibernate.validator.ap.util.AnnotationApiHelper
Returns a TypeMirror for the given class.
getPartsOfMultiValuedConstraint(AnnotationMirror) - Method in class org.hibernate.validator.ap.util.ConstraintHelper
Returns a list with the constraint annotations contained in the given array-valued annotation mirror.
getSupportedSourceVersion() - Method in class org.hibernate.validator.ap.ConstraintValidationProcessor
 
GetterCheck - Class in org.hibernate.validator.ap.checks
Checks whether a given element is a valid getter method.
GetterCheck(boolean) - Constructor for class org.hibernate.validator.ap.checks.GetterCheck
 
GROUP_SEQUENCE - Static variable in class org.hibernate.validator.ap.util.TypeNames.BeanValidationTypes
 
GROUP_SEQUENCE_PROVIDER - Static variable in class org.hibernate.validator.ap.util.TypeNames.HibernateValidatorTypes
 
GroupSequenceProviderCheck - Class in org.hibernate.validator.ap.checks
Checks that the GroupSequenceProvider annotation definition is valid.
GroupSequenceProviderCheck(AnnotationApiHelper, Types) - Constructor for class org.hibernate.validator.ap.checks.GroupSequenceProviderCheck
 

H

hashCode() - Method in class org.hibernate.validator.ap.checks.ConstraintCheckError
 

I

init(ProcessingEnvironment) - Method in class org.hibernate.validator.ap.ConstraintValidationProcessor
 
isComposedConstraint(TypeElement) - Method in class org.hibernate.validator.ap.util.ConstraintHelper
Checks, whether the given type element represents a composed constraint or not.
isConstraintAnnotation(Element) - Method in class org.hibernate.validator.ap.util.ConstraintHelper
Checks, whether the given type element represents a constraint annotation or not.
isVerbose() - Method in class org.hibernate.validator.ap.util.Configuration
Whether logging information shall be put out in a verbose way or not.

J

JAVAX_VALIDATION - Static variable in class org.hibernate.validator.ap.util.TypeNames.BeanValidationTypes
 
JAVAX_VALIDATION_CONSTRAINTS - Static variable in class org.hibernate.validator.ap.util.TypeNames.BeanValidationTypes
 

K

keepLowestTypePerHierarchy(Set<TypeMirror>) - Method in class org.hibernate.validator.ap.util.AnnotationApiHelper
Returns a set containing the "lowest" type per hierarchy contained in the input set.

L

LENGTH - Static variable in class org.hibernate.validator.ap.util.TypeNames.HibernateValidatorTypes
 

M

MAX - Static variable in class org.hibernate.validator.ap.util.TypeNames.BeanValidationTypes
 
MessagerAdapter - Class in org.hibernate.validator.ap.util
Wrapper around Messager, which adds the ability to format error messages using MessageFormat.
MessagerAdapter(Messager, Diagnostic.Kind) - Constructor for class org.hibernate.validator.ap.util.MessagerAdapter
Creates a new MessagerAdapter.
METHOD_CONSTRAINTS_SUPPORTED_PROCESSOR_OPTION - Static variable in class org.hibernate.validator.ap.util.Configuration
The name of the processor option for allowing constraints at methods other than getter methods.
methodConstraintsSupported() - Method in class org.hibernate.validator.ap.util.Configuration
Whether method constraints are allowed at any method (true) or only getter methods (false).
MIN - Static variable in class org.hibernate.validator.ap.util.TypeNames.BeanValidationTypes
 
MOD_CHECK - Static variable in class org.hibernate.validator.ap.util.TypeNames.HibernateValidatorTypes
 
MultiValuedChecks - Class in org.hibernate.validator.ap.checks
A ConstraintChecks implementation, that executed the contained checks against all parts of given multi-valued annotations.
MultiValuedChecks(ConstraintHelper, ConstraintCheck...) - Constructor for class org.hibernate.validator.ap.checks.MultiValuedChecks
Creates a new MultiValuedChecks.

N

newArrayList() - Static method in class org.hibernate.validator.ap.util.CollectionHelper
 
newHashMap() - Static method in class org.hibernate.validator.ap.util.CollectionHelper
 
newHashSet() - Static method in class org.hibernate.validator.ap.util.CollectionHelper
 
NOT_BLANK - Static variable in class org.hibernate.validator.ap.util.TypeNames.HibernateValidatorTypes
 
NOT_NULL - Static variable in class org.hibernate.validator.ap.util.TypeNames.BeanValidationTypes
 
NULL - Static variable in class org.hibernate.validator.ap.util.TypeNames.BeanValidationTypes
 

O

org.hibernate.validator.ap - package org.hibernate.validator.ap
This package contains the main class of Hibernate Validator annotation processor.
org.hibernate.validator.ap.checks - package org.hibernate.validator.ap.checks
This package contains check implementations used by the annotation processor to verify constraint declarations.
org.hibernate.validator.ap.util - package org.hibernate.validator.ap.util
This package contains helper classes.

P

PAST - Static variable in class org.hibernate.validator.ap.util.TypeNames.BeanValidationTypes
 
PATTERN - Static variable in class org.hibernate.validator.ap.util.TypeNames.BeanValidationTypes
 
PAYLOAD - Static variable in class org.hibernate.validator.ap.util.TypeNames.BeanValidationTypes
 
PrimitiveCheck - Class in org.hibernate.validator.ap.checks
Validates that the given element is not of a primitive type.
PrimitiveCheck() - Constructor for class org.hibernate.validator.ap.checks.PrimitiveCheck
 
process(Set<? extends TypeElement>, RoundEnvironment) - Method in class org.hibernate.validator.ap.ConstraintValidationProcessor
 

R

READABLE_INSTANT - Static variable in class org.hibernate.validator.ap.util.TypeNames.JodaTypes
 
READABLE_PARTIAL - Static variable in class org.hibernate.validator.ap.util.TypeNames.JodaTypes
 
reportErrors(Set<ConstraintCheckError>) - Method in class org.hibernate.validator.ap.util.MessagerAdapter
Reports the given errors against the underlying Messager using the specified Diagnostic.Kind.
RetentionPolicyCheck - Class in org.hibernate.validator.ap.checks
Checks, that RetentionPolicy.RUNTIME is declared for constraint annotation types.
RetentionPolicyCheck(AnnotationApiHelper) - Constructor for class org.hibernate.validator.ap.checks.RetentionPolicyCheck
 

S

SAFE_HTML - Static variable in class org.hibernate.validator.ap.util.TypeNames.HibernateValidatorTypes
 
SCRIPT_ASSERT - Static variable in class org.hibernate.validator.ap.util.TypeNames.HibernateValidatorTypes
 
SingleValuedChecks - Class in org.hibernate.validator.ap.checks
A ConstraintChecks implementation that simply executes all contained checks against given elements and annotations.
SingleValuedChecks(ConstraintCheck...) - Constructor for class org.hibernate.validator.ap.checks.SingleValuedChecks
Creates a new SingleValuedChecks.
SIZE - Static variable in class org.hibernate.validator.ap.util.TypeNames.BeanValidationTypes
 
StaticCheck - Class in org.hibernate.validator.ap.checks
Checks, that the given element is not a static element.
StaticCheck() - Constructor for class org.hibernate.validator.ap.checks.StaticCheck
 

T

TargetCheck - Class in org.hibernate.validator.ap.checks
Checks, that at least one of the ElementTypes FIELD, METHOD, TYPE or ANNOTATION_TYPE is specified using the Target meta-annotation for constraint annotation types.
TargetCheck(AnnotationApiHelper) - Constructor for class org.hibernate.validator.ap.checks.TargetCheck
 
toString() - Method in class org.hibernate.validator.ap.checks.ConstraintCheckError
 
TypeCheck - Class in org.hibernate.validator.ap.checks
Checks, that constraint annotations are only specified at elements of a type supported by the constraints.
TypeCheck(ConstraintHelper) - Constructor for class org.hibernate.validator.ap.checks.TypeCheck
 
TypeNames - Class in org.hibernate.validator.ap.util
Contains the fully-qualified names of types used by the annotation processor which are accessed only via the mirror API in order to avoid references to the actual class objects.
TypeNames() - Constructor for class org.hibernate.validator.ap.util.TypeNames
 
TypeNames.BeanValidationTypes - Class in org.hibernate.validator.ap.util
 
TypeNames.BeanValidationTypes() - Constructor for class org.hibernate.validator.ap.util.TypeNames.BeanValidationTypes
 
TypeNames.HibernateValidatorTypes - Class in org.hibernate.validator.ap.util
 
TypeNames.HibernateValidatorTypes() - Constructor for class org.hibernate.validator.ap.util.TypeNames.HibernateValidatorTypes
 
TypeNames.JodaTypes - Class in org.hibernate.validator.ap.util
 
TypeNames.JodaTypes() - Constructor for class org.hibernate.validator.ap.util.TypeNames.JodaTypes
 

U

URL - Static variable in class org.hibernate.validator.ap.util.TypeNames.HibernateValidatorTypes
 

V

VALID - Static variable in class org.hibernate.validator.ap.util.TypeNames.BeanValidationTypes
 
valueOf(String) - Static method in enum org.hibernate.validator.ap.util.ConstraintHelper.AnnotationType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.hibernate.validator.ap.util.ConstraintHelper.ConstraintCheckResult
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.hibernate.validator.ap.util.ConstraintHelper.AnnotationType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.hibernate.validator.ap.util.ConstraintHelper.ConstraintCheckResult
Returns an array containing the constants of this enum type, in the order they are declared.
VERBOSE_PROCESSOR_OPTION - Static variable in class org.hibernate.validator.ap.util.Configuration
The name of the processor option for activating verbose message reporting.
A C D E F G H I J K L M N O P R S T U V 

Copyright © 2007-2013 Red Hat, Inc. All Rights Reserved