class CheckQueryDetailsNullValidator implements ConstraintValidator<CheckQueryDetailsNull,
        List<ClientQueryField>>, ValidationErrorDescriptorBuilder {

    @Override
    public ErrorDescriptor build(ConstraintViolation violation) {
        return QUERY_DETAILS_UNSUPPORTED.createDescriptor();
    }

}