Skip to content

Commit

Permalink
HV-1900 Add annotation TypeCheck to parameter checks in AnnotationPro…
Browse files Browse the repository at this point in the history
…cessor
  • Loading branch information
gsmet committed May 4, 2022
1 parent 2e0373e commit c65705e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ public ConstraintCheckFactory(Types typeUtils, Elements elementUtils, Constraint
parameterChecks.put(
AnnotationType.CONSTRAINT_ANNOTATION,
new SingleValuedChecks(
new TypeCheck( constraintHelper, typeUtils, annotationApiHelper ),
new AnnotationParametersSizeLengthCheck( annotationApiHelper ),
new AnnotationParametersPatternCheck( annotationApiHelper ),
new AnnotationParametersScriptAssertCheck( annotationApiHelper ),
Expand All @@ -84,6 +85,7 @@ public ConstraintCheckFactory(Types typeUtils, Elements elementUtils, Constraint
AnnotationType.MULTI_VALUED_CONSTRAINT_ANNOTATION,
new MultiValuedChecks(
constraintHelper,
new TypeCheck( constraintHelper, typeUtils, annotationApiHelper ),
new AnnotationParametersSizeLengthCheck( annotationApiHelper ),
new AnnotationParametersPatternCheck( annotationApiHelper ),
new AnnotationParametersScriptAssertCheck( annotationApiHelper ),
Expand Down

0 comments on commit c65705e

Please sign in to comment.