Index
All Classes and Interfaces|All Packages
A
- addMessage(String, String, String) - Static method in class de.knightsoftnet.validators.annotation.processor.ValidationMessagesMap
-
add message to message map.
- addMessage(String, Locale, String) - Static method in class de.knightsoftnet.validators.annotation.processor.ValidationMessagesMap
-
add message to message map.
- addMessages(String, Map<String, String>) - Static method in class de.knightsoftnet.validators.annotation.processor.ValidationMessagesMap
-
add message to message map.
- ApUtils - Class in de.knightsoftnet.validators.annotation.processor
- ApUtils() - Constructor for class de.knightsoftnet.validators.annotation.processor.ApUtils
- ApUtils.GetClassValue - Interface in de.knightsoftnet.validators.annotation.processor
C
- compare(TypeMirror, TypeMirror) - Method in class de.knightsoftnet.validators.annotation.processor.TypeMirrorHierarchyComparator
- createComposingConstraintsForElement(Element, Elements, ConstraintLocation.ConstraintLocationKind, Map<String, Map<String, Map.Entry<? extends ExecutableElement, ? extends AnnotationValue>>>) - Static method in class de.knightsoftnet.validators.annotation.processor.TypeElementConstraintDescriptorImpl
-
create composing constraints for element.
D
- de.knightsoftnet.validators.annotation.processor - package de.knightsoftnet.validators.annotation.processor
- de.knightsoftnet.validators.client - package de.knightsoftnet.validators.client
E
- execute() - Method in interface de.knightsoftnet.validators.annotation.processor.ApUtils.GetClassValue
F
- fieldElementByName(TypeMirror, String) - Static method in class de.knightsoftnet.validators.annotation.processor.TypeUtils
-
element type.
- fieldType(TypeMirror, String, ProcessingEnvironment) - Static method in class de.knightsoftnet.validators.annotation.processor.TypeUtils
-
element type.
- forceUsingGetter() - Element in annotation interface de.knightsoftnet.validators.client.GwtValidation
-
force using getter for accessing field values.
G
- generateReflectionGetter() - Element in annotation interface de.knightsoftnet.validators.client.GwtValidation
-
generate reflection getter for class based validation.
- generateValidatorFactoryInterface() - Element in annotation interface de.knightsoftnet.validators.client.GwtValidation
-
generate validator factory interface to autoinclude valdator factory.
- getAnnotation() - Method in interface de.knightsoftnet.validators.annotation.processor.TypeElementConstraintDescriptor
-
Returns the annotation describing the constraint declaration.
- getAnnotation() - Method in class de.knightsoftnet.validators.annotation.processor.TypeElementConstraintDescriptorImpl
- getAnnotationsForElement(Element, Types, Elements) - Static method in class de.knightsoftnet.validators.annotation.processor.TypeUtils
-
get annotations for Element.
- getAnnotationsForType(TypeMirror, Types, Elements) - Static method in class de.knightsoftnet.validators.annotation.processor.TypeUtils
-
get annotations for type.
- getAttributes() - Method in interface de.knightsoftnet.validators.annotation.processor.TypeElementConstraintDescriptor
-
Returns a map containing the annotation attribute names as keys and the annotation attribute values as value.
- getAttributes() - Method in class de.knightsoftnet.validators.annotation.processor.TypeElementConstraintDescriptorImpl
- getClassName(TypeElement) - Static method in class de.knightsoftnet.validators.annotation.processor.TypeUtils
-
get class name for type element.
- getClassName(TypeMirror) - Static method in class de.knightsoftnet.validators.annotation.processor.TypeUtils
-
get class name for type element.
- getClassNameWithoutPath(TypeMirror) - Static method in class de.knightsoftnet.validators.annotation.processor.TypeUtils
-
get class name for type element without path.
- getClassNameWithProperties(TypeMirror) - Static method in class de.knightsoftnet.validators.annotation.processor.TypeUtils
-
get class name for type mirror with properties.
- getClassNameWithPropertiesOfElement(TypeMirror, Element) - Static method in class de.knightsoftnet.validators.annotation.processor.TypeUtils
-
get class name for type mirror with properties which contains given field, if it's defined in super class, the name of superclass is returned.
- getClassNameWithPropertiesOfElementNoType(TypeMirror, Element) - Static method in class de.knightsoftnet.validators.annotation.processor.TypeUtils
-
get class name for type mirror with properties which contains given field, if it's defined in super class, the name of superclass is returned.
- getComposingConstraints() - Method in interface de.knightsoftnet.validators.annotation.processor.TypeElementConstraintDescriptor
-
Return a set of composing
ConstraintDescriptors where each descriptor describes a composing constraint. - getComposingConstraints() - Method in class de.knightsoftnet.validators.annotation.processor.TypeElementConstraintDescriptorImpl
- getConstrainedContainerElementTypes() - Method in interface de.knightsoftnet.validators.annotation.processor.TypeElementPropertyDescriptor
-
If this element is of a container type, e.g.
- getConstrainedContainerElementTypes() - Method in class de.knightsoftnet.validators.annotation.processor.TypeElementPropertyDescriptorImpl
- getConstraintDescriptors() - Method in interface de.knightsoftnet.validators.annotation.processor.TypeElementPropertyDescriptor
-
Returns all constraint descriptors for this element in the class hierarchy or an empty
Setif none are present. - getConstraintDescriptors() - Method in class de.knightsoftnet.validators.annotation.processor.TypeElementPropertyDescriptorImpl
- getConstraintLocationKind() - Method in interface de.knightsoftnet.validators.annotation.processor.TypeElementConstraintDescriptor
-
get constraint location kind.
- getConstraintLocationKind() - Method in class de.knightsoftnet.validators.annotation.processor.TypeElementConstraintDescriptorImpl
- getConstraintValidatorClasses() - Method in interface de.knightsoftnet.validators.annotation.processor.TypeElementConstraintDescriptor
-
List of the constraint validation implementation classes.
- getConstraintValidatorClasses() - Method in class de.knightsoftnet.validators.annotation.processor.TypeElementConstraintDescriptorImpl
- getDefinedOn() - Method in interface de.knightsoftnet.validators.annotation.processor.TypeElementConstraintDescriptor
-
get defined on.
- getDefinedOn() - Method in class de.knightsoftnet.validators.annotation.processor.TypeElementConstraintDescriptorImpl
- getElementName(TypeElementPropertyDescriptor) - Static method in class de.knightsoftnet.validators.annotation.processor.TypeUtils
-
get element name, even if descriptor is getter, return element name.
- getElementType() - Method in interface de.knightsoftnet.validators.annotation.processor.TypeElementPropertyDescriptor
-
get element type.
- getElementType() - Method in class de.knightsoftnet.validators.annotation.processor.TypeElementPropertyDescriptorImpl
- getFields(TypeMirror) - Static method in class de.knightsoftnet.validators.annotation.processor.TypeUtils
-
get list of fields for a type mirror.
- getGetter(TypeMirror) - Static method in class de.knightsoftnet.validators.annotation.processor.TypeUtils
-
get list of getters for a type mirror.
- getGetter(TypeMirror, String) - Static method in class de.knightsoftnet.validators.annotation.processor.TypeUtils
-
get getter for a value name.
- getGetterNames(TypeMirror) - Static method in class de.knightsoftnet.validators.annotation.processor.TypeUtils
-
get list of getter names for a type mirror.
- getGroups() - Method in interface de.knightsoftnet.validators.annotation.processor.TypeElementConstraintDescriptor
-
The set of groups the constraint is applied on.
- getGroups() - Method in class de.knightsoftnet.validators.annotation.processor.TypeElementConstraintDescriptorImpl
- getInterfaces(TypeMirror) - Static method in class de.knightsoftnet.validators.annotation.processor.TypeUtils
-
get list of interfaces of a type mirror.
- getMessage(String, String) - Static method in class de.knightsoftnet.validators.annotation.processor.ValidationMessagesMap
-
get localized message for code.
- getMessage(String, Locale) - Static method in class de.knightsoftnet.validators.annotation.processor.ValidationMessagesMap
-
get localized message for code.
- getMessages(String) - Static method in class de.knightsoftnet.validators.annotation.processor.ValidationMessagesMap
-
get localized messages for code.
- getMethod(TypeMirror, String) - Static method in class de.knightsoftnet.validators.annotation.processor.TypeUtils
-
getter method.
- getMethods(TypeMirror) - Static method in class de.knightsoftnet.validators.annotation.processor.TypeUtils
-
get list of methods for a type mirror.
- getPayload() - Method in interface de.knightsoftnet.validators.annotation.processor.TypeElementConstraintDescriptor
-
The set of payload the constraint hosts.
- getPayload() - Method in class de.knightsoftnet.validators.annotation.processor.TypeElementConstraintDescriptorImpl
- getPropertyName() - Method in interface de.knightsoftnet.validators.annotation.processor.TypeElementPropertyDescriptor
-
Name of the property according to the Java Bean specification.
- getPropertyName() - Method in class de.knightsoftnet.validators.annotation.processor.TypeElementPropertyDescriptorImpl
- getRecursiveEnclosedElements(TypeMirror) - Static method in class de.knightsoftnet.validators.annotation.processor.TypeUtils
-
get list of getters for a type mirror.
- getterNameFromElement(Element) - Static method in class de.knightsoftnet.validators.annotation.processor.TypeUtils
-
get the getter name from element.
- getterReturnType(TypeMirror, String) - Static method in class de.knightsoftnet.validators.annotation.processor.TypeUtils
-
getter return type.
- getType(TypeMirror) - Static method in class de.knightsoftnet.validators.annotation.processor.TypeUtils
-
get type for type mirror.
- getTypeElementConstraintDescriptors(TypeMirror, Elements, Types) - Static method in class de.knightsoftnet.validators.annotation.processor.TypeUtils
-
Returns all constraint descriptors for this element in the class hierarchy or an empty
Setif none are present. - getTypeElementProperties(TypeMirror, ProcessingEnvironment) - Static method in class de.knightsoftnet.validators.annotation.processor.TypeUtils
-
Returns a set of type element property descriptors having at least one constraint defined or marked as cascaded (
Valid). - getTypeMirrorFromAnnotationValue(ApUtils.GetClassValue) - Static method in class de.knightsoftnet.validators.annotation.processor.ApUtils
-
get type mirror from annotation value.
- getValidationClassForType(TypeMirror, Types, Elements) - Static method in class de.knightsoftnet.validators.annotation.processor.TypeUtils
-
get validation class for type mirror.
- getValidationInstanceForType(TypeMirror, Types, Elements) - Static method in class de.knightsoftnet.validators.annotation.processor.TypeUtils
-
get validation interface for type mirror.
- getValidationInterfaceForType(TypeMirror, Types) - Static method in class de.knightsoftnet.validators.annotation.processor.TypeUtils
-
get validation interface for type mirror.
- getValidatorForType(TypeElementConstraintDescriptor<?>, TypeMirror) - Method in class de.knightsoftnet.validators.annotation.processor.GwtSpecificValidatorClassCreator
-
Gets the best
ConstraintValidator. - groups() - Element in annotation interface de.knightsoftnet.validators.client.GwtValidation
-
The list of Groups which can be processed by the annotated
Validator. - GwtSpecificValidatorClassCreator - Class in de.knightsoftnet.validators.annotation.processor
- GwtSpecificValidatorClassCreator(ProcessingEnvironment, Set<TypeMirror>, boolean, boolean, String[]) - Constructor for class de.knightsoftnet.validators.annotation.processor.GwtSpecificValidatorClassCreator
-
constructor.
- GwtSpecificValidatorCreatorProcessor - Class in de.knightsoftnet.validators.annotation.processor
- GwtSpecificValidatorCreatorProcessor() - Constructor for class de.knightsoftnet.validators.annotation.processor.GwtSpecificValidatorCreatorProcessor
- GwtSpecificValidatorInterfaceCreator - Class in de.knightsoftnet.validators.annotation.processor
- GwtSpecificValidatorInterfaceCreator() - Constructor for class de.knightsoftnet.validators.annotation.processor.GwtSpecificValidatorInterfaceCreator
- GwtValidation - Annotation Interface in de.knightsoftnet.validators.client
-
Annotates a
jakarta.validation.Validatorexplicitly listing the classes that can be validated in GWT.
H
- hasField(TypeMirror, String) - Static method in class de.knightsoftnet.validators.annotation.processor.TypeUtils
-
test if a element name has exists.
- hasGetter(TypeMirror, String) - Static method in class de.knightsoftnet.validators.annotation.processor.TypeUtils
-
test if a element name has a corresponding getter.
I
- isBeanConstrained(TypeMirror, Types, Elements) - Static method in class de.knightsoftnet.validators.annotation.processor.TypeUtils
-
Returns
trueif the bean involves validation. - isCascaded() - Method in interface de.knightsoftnet.validators.annotation.processor.TypeElementPropertyDescriptor
-
Whether this element is marked for cascaded validation or not.
- isCascaded() - Method in class de.knightsoftnet.validators.annotation.processor.TypeElementPropertyDescriptorImpl
- isEmpty() - Static method in class de.knightsoftnet.validators.annotation.processor.ValidationMessagesMap
-
test if message map is empty.
- isGetter(String) - Static method in class de.knightsoftnet.validators.annotation.processor.TypeUtils
-
check if element is a getter method.
- isGetter(Element) - Static method in class de.knightsoftnet.validators.annotation.processor.TypeUtils
-
check if element is a getter method.
- isReportAsSingleViolation() - Method in interface de.knightsoftnet.validators.annotation.processor.TypeElementConstraintDescriptor
-
check if this is reported as single violation.
- isReportAsSingleViolation() - Method in class de.knightsoftnet.validators.annotation.processor.TypeElementConstraintDescriptorImpl
L
- languages() - Element in annotation interface de.knightsoftnet.validators.client.GwtValidation
-
The list of languages to generate messages for.
N
- newBundle(String, Locale, String, ClassLoader, boolean) - Method in class de.knightsoftnet.validators.annotation.processor.Utf8Control
P
- process(Set<? extends TypeElement>, RoundEnvironment) - Method in class de.knightsoftnet.validators.annotation.processor.GwtSpecificValidatorCreatorProcessor
R
- reflect() - Element in annotation interface de.knightsoftnet.validators.client.GwtValidation
-
The list of Classes which can be used a reflection getter, if empty all constrained beans are taken (autodetection).
T
- TypeElementConstraintDescriptor<T extends AnnotationMirror> - Interface in de.knightsoftnet.validators.annotation.processor
- TypeElementConstraintDescriptorImpl<T extends AnnotationMirror> - Class in de.knightsoftnet.validators.annotation.processor
- TypeElementConstraintDescriptorImpl(AnnotationMirror, Elements, ConstraintLocation.ConstraintLocationKind) - Constructor for class de.knightsoftnet.validators.annotation.processor.TypeElementConstraintDescriptorImpl
-
default constructor initializing stuff.
- TypeElementConstraintDescriptorImpl(AnnotationMirror, Elements, ConstraintLocation.ConstraintLocationKind, Map<String, Map.Entry<? extends ExecutableElement, ? extends AnnotationValue>>) - Constructor for class de.knightsoftnet.validators.annotation.processor.TypeElementConstraintDescriptorImpl
-
default constructor initializing stuff.
- TypeElementPropertyDescriptor - Interface in de.knightsoftnet.validators.annotation.processor
-
Describes a TypeElement property hosting validation constraints.
- TypeElementPropertyDescriptorImpl - Class in de.knightsoftnet.validators.annotation.processor
- TypeElementPropertyDescriptorImpl(Element, DeclaredType, ProcessingEnvironment, ConstraintLocation.ConstraintLocationKind) - Constructor for class de.knightsoftnet.validators.annotation.processor.TypeElementPropertyDescriptorImpl
-
constructor.
- TypeMirrorHierarchyComparator - Class in de.knightsoftnet.validators.annotation.processor
- TypeMirrorHierarchyComparator(Types) - Constructor for class de.knightsoftnet.validators.annotation.processor.TypeMirrorHierarchyComparator
- TypeUtils - Class in de.knightsoftnet.validators.annotation.processor
- TypeUtils() - Constructor for class de.knightsoftnet.validators.annotation.processor.TypeUtils
U
- Utf8Control - Class in de.knightsoftnet.validators.annotation.processor
-
The
UTF8Controlclass is a Control to read UTF-8 properties files. - Utf8Control() - Constructor for class de.knightsoftnet.validators.annotation.processor.Utf8Control
V
- ValidationMessagesMap - Class in de.knightsoftnet.validators.annotation.processor
- ValidationMessagesMap() - Constructor for class de.knightsoftnet.validators.annotation.processor.ValidationMessagesMap
- ValidatorCreator - Class in de.knightsoftnet.validators.annotation.processor
- ValidatorCreator() - Constructor for class de.knightsoftnet.validators.annotation.processor.ValidatorCreator
- ValidatorInterfaceCreator - Class in de.knightsoftnet.validators.annotation.processor
- ValidatorInterfaceCreator() - Constructor for class de.knightsoftnet.validators.annotation.processor.ValidatorInterfaceCreator
- value() - Element in annotation interface de.knightsoftnet.validators.client.GwtValidation
-
The list of Classes which can be validated by the annotated
Validator. - valueFromGetter(String) - Static method in class de.knightsoftnet.validators.annotation.processor.TypeUtils
-
get element from getter.
W
- writeClass(String, String, String, GwtValidation, ProcessingEnvironment) - Method in class de.knightsoftnet.validators.annotation.processor.ValidatorCreator
-
write validator factory class.
- writeClass(TypeMirror) - Method in class de.knightsoftnet.validators.annotation.processor.GwtSpecificValidatorClassCreator
-
write validation class for a given type mirror.
- writeClassBody(PrintWriter, TypeMirror) - Method in class de.knightsoftnet.validators.annotation.processor.GwtSpecificValidatorClassCreator
- writeClassForTypeMirror(GwtValidation, boolean, List<? extends TypeMirror>, String[], TypeMirror) - Method in class de.knightsoftnet.validators.annotation.processor.GwtSpecificValidatorCreatorProcessor
- writeInterface(String, String, ProcessingEnvironment) - Method in class de.knightsoftnet.validators.annotation.processor.ValidatorInterfaceCreator
-
write interface for validator factory.
- writeInterface(TypeMirror, ProcessingEnvironment) - Method in class de.knightsoftnet.validators.annotation.processor.GwtSpecificValidatorInterfaceCreator
-
write interface for given type mirror.
- writeUnsafeNativeLongIfNeeded(PrintWriter, TypeMirror) - Method in class de.knightsoftnet.validators.annotation.processor.GwtSpecificValidatorClassCreator
All Classes and Interfaces|All Packages