how to pass a parameter to a custom validation annotation