title: Is there something like Annotation Inheritance in java?
body: <p>I'm exploring annotations and came to a point where some annotations seems to have a hierarchy among them. </p>
  
  <p>I'm using annotations to generate code in the background for Cards. There are different Card types (thus different code and annotations) but there are certain elements that are common among them like a name. </p>
  
  <pre><code>@Target(value = {ElementType.TYPE})
  public @interface Move extends Page{
   String method1();
   String method2();
  }
  </code></pre>
  
  <p>And this would be the common Annotation:</p>
  
  <pre><code>@Target(value = {ElementType.TYPE})
  public @interface Page{
   String method3();
  }
  </code></pre>
  
  <p>In the example above I would expect Move to inherit method3 but I get a warning saying that extends is not valid with annotations. I was trying to have an Annotation extends a common base one but that doesn't work. Is that even possible or is just a design issue?</p>