Package | Description |
---|---|
org.hibernate.validator.ap.internal | |
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 | |
org.hibernate.validator.ap.internal.classchecks | |
org.hibernate.validator.ap.internal.util |
This package contains helper classes.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractElementVisitor.reportIssues(Collection<ConstraintCheckIssue> foundIssues)
Reports provided issues using
Messager API based on their
kind (ConstraintCheckIssue.IssueKind ). |
Modifier and Type | Method and Description |
---|---|
static ConstraintCheckIssue |
ConstraintCheckIssue.error(Element element,
AnnotationMirror annotationMirror,
String messageKey,
Object... messageParameters)
Creates a new ConstraintCheckIssue of error kind (
ConstraintCheckIssue.IssueKind.ERROR ). |
static ConstraintCheckIssue |
ConstraintCheckIssue.warning(Element element,
AnnotationMirror annotationMirror,
String messageKey,
Object... messageParameters)
Creates a new ConstraintCheckIssue of warning kind (
ConstraintCheckIssue.IssueKind.WARNING ). |
Modifier and Type | Method and Description |
---|---|
Set<ConstraintCheckIssue> |
AnnotationParametersAbstractCheck.checkAnnotationType(TypeElement element,
AnnotationMirror annotation) |
Set<ConstraintCheckIssue> |
AnnotationParametersAbstractCheck.checkField(VariableElement element,
AnnotationMirror annotation) |
Set<ConstraintCheckIssue> |
AnnotationParametersAbstractCheck.checkMethod(ExecutableElement element,
AnnotationMirror annotation) |
Set<ConstraintCheckIssue> |
AnnotationParametersAbstractCheck.checkNonAnnotationType(TypeElement element,
AnnotationMirror annotation) |
protected Set<ConstraintCheckIssue> |
AnnotationUserMessageCheck.doCheck(Element element,
AnnotationMirror annotation) |
protected Set<ConstraintCheckIssue> |
AnnotationParametersPatternCheck.doCheck(Element element,
AnnotationMirror annotation) |
protected abstract Set<ConstraintCheckIssue> |
AnnotationParametersAbstractCheck.doCheck(Element element,
AnnotationMirror annotation)
Method which actually performs the validation of the annotation parameters.
|
protected Set<ConstraintCheckIssue> |
AnnotationDefaultMessageCheck.doCheck(Element element,
AnnotationMirror annotation) |
protected Set<ConstraintCheckIssue> |
AnnotationPayloadUnwrappingCheck.doCheck(Element element,
AnnotationMirror annotation) |
protected Set<ConstraintCheckIssue> |
AnnotationParametersDigitsCheck.doCheck(Element element,
AnnotationMirror annotation) |
protected Set<ConstraintCheckIssue> |
AnnotationParametersGroupsCheck.doCheck(Element element,
AnnotationMirror annotation) |
protected Set<ConstraintCheckIssue> |
AnnotationParametersScriptAssertCheck.doCheck(Element element,
AnnotationMirror annotation) |
protected Set<ConstraintCheckIssue> |
AnnotationParametersDecimalMinMaxCheck.doCheck(Element element,
AnnotationMirror annotation) |
protected Set<ConstraintCheckIssue> |
AnnotationParametersSizeLengthCheck.doCheck(Element element,
AnnotationMirror annotation) |
protected Set<ConstraintCheckIssue> |
GroupSequenceCheck.doCheck(Element element,
AnnotationMirror annotation) |
Modifier and Type | Method and Description |
---|---|
Set<ConstraintCheckIssue> |
AbstractClassCheck.checkMethod(ExecutableElement element) |
Collection<ConstraintCheckIssue> |
ClassCheck.checkMethod(ExecutableElement element)
Checks whether the given method is written correctly.
|
Set<ConstraintCheckIssue> |
AbstractMethodOverrideCheck.checkMethod(ExecutableElement currentMethod) |
protected Set<ConstraintCheckIssue> |
ReturnValueMethodOverrideCheck.checkMethodInternal(ExecutableElement currentMethod,
MethodInheritanceTree methodInheritanceTree) |
protected abstract Set<ConstraintCheckIssue> |
AbstractMethodOverrideCheck.checkMethodInternal(ExecutableElement currentMethod,
MethodInheritanceTree overriddenMethodsTree)
Performs the check of a method.
|
protected Set<ConstraintCheckIssue> |
ParametersMethodOverrideCheck.checkMethodInternal(ExecutableElement currentMethod,
MethodInheritanceTree methodInheritanceTree) |
Collection<ConstraintCheckIssue> |
AbstractClassCheck.execute(Element element) |
Collection<ConstraintCheckIssue> |
ClassCheck.execute(Element element)
Run all checks on the element.
|
Modifier and Type | Method and Description |
---|---|
void |
MessagerAdapter.reportErrors(Collection<ConstraintCheckIssue> errors)
Reports the given errors against the underlying
Messager using
the specified Diagnostic.Kind . |
void |
MessagerAdapter.reportWarnings(Collection<ConstraintCheckIssue> warnings)
Reports the given warnings against the underlying
Messager using
the specified Diagnostic.Kind . |
Copyright © 2007-2021 Red Hat, Inc. All Rights Reserved