| See ConstraintValidatorContext and specifically ConstraintViolationBuilder. You can have custom constraint validators create violations that point to specific elements. I'm not sure when one would do it for a container element constraint but it seems reasonable to add for the sake of consistency. |