message = messageTemplate;
if (propPath == null)
propPath = PathImpl.createPathFromString(context.getPropertyName());
descriptor = null;
}
ElementType elementType = (context.getAccess() != null) ? context.getAccess().getElementType() : null;
ConstraintViolationImpl<T> ic = new ConstraintViolationImpl<T>(messageTemplate,
message, rootBean, context.getBean(), propPath, value, descriptor, rootBeanType, elementType);
constraintViolations.add(ic);
}