title: How can I change annotations/Hibernate validation rules at runtime?
body: <p>If have a Java class with some fields I want to validate using Hibernate Validator.
  Now I want my users to be able to configure at runtime which validations take place.</p>
  
  <p>For example:</p>
  
  <pre><code>public class MyPojo {
      ...
  
      @NotEmpty
      String void getMyField() {
          ... 
      }
  
      ...
  }
  </code></pre>
  
  <p>Let's say I want to remove the <code>NotEmpty</code> check or replace it with <code>Email</code> or <code>CreditCardNumber</code>, how can I do it? Is it even possible? I guess it comes down to changing annotations at runtime...</p>