Base class for ConstraintValidator implementors

Description

For simpler ConstraintValidators which ignore null cases and don't need to initialise constraintAnnotation there is a lot of boilerplate that could be simplified with a base class or interface with default methods:

For this case it would be nice if there was something like:

In that case first implementation would be a lot more concise:

Environment

None

Status

Assignee

Unassigned

Reporter

Lovro Pandzic

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Priority

Major
Configure