Extract messaging related stuff from ConstraintAnnotationVisitor

Description

The method ConstraintAnnotationVisitor#reportError() should be extracted to a separate class. Retrieving the diagnostic kind also shouldn't be done by this class but by ConstraintValidationProcessor itself.

Environment

None

Assignee

Gunnar Morling

Reporter

Gunnar Morling

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Priority

Major
Configure