title: Annotation member which holds other annotations?
body: <p>I want to create a custom annotation (using Java) which would accept other annotations as parameter, something like:</p>
  
  <pre><code>public @interface ExclusiveOr {
      Annotation[] value();
  }
  </code></pre>
  
  <p>But this causes compiler error "invalid type for annotation member".</p>
  
  <p>Object[] also doesn't work.</p>
  
  <p>Is there a way to do what I want?</p>