title: Java + Spring - How to validate an enum
body: <p>Question is straightforward - how do you validate an enum?</p>
  
  <p>I tried <code>@NotNull</code>, <code>@NotBlank</code>, <code>@NotEmpty</code>, <code>@Size</code>, and <code>@Min</code> + <code>@Max</code>. </p>
  
  <p>Every one I try, it says </p>
  
  <blockquote>
    <p>The annotation @_____ is disallowed for this location</p>
  </blockquote>
  
  <p><strong>Which annotation should I use????</strong></p>
  
  <p>Variable: </p>
  
  <pre><code>private static enum GearTeethType{OUTERTEETH, INNERTEETH, NOTEETH}
  </code></pre>