title: restrict class type of annotation
body: <p>is there any <code>ClassDef</code> like <code>IntDef</code> in <code>annotation</code> to restrict the type of <code>annotation</code> as my example below?</p>
  
  <pre><code>@ClassDef({
      Integer, String, Long
  })
  public @interface MyRestrictedData {
  }
  </code></pre>
  
  <p>As a result, I can use it as: <code>public void showData(@MyRestrictedData Object myData)</code></p>