title: How to get the value of an annotation parameter for usage in AspectJ?
body: <p>Consider this method:</p>
  
  <pre><code>@Access(rights = GUEST)
  public void foo() {
    doSomething();
  }
  </code></pre>
  
  <p>This pointcut basically matches if the method has an <code>@Access</code> annotation:</p>
  
  <pre><code>pointcut check() : 
  execution(@Access * *(..));
  </code></pre>
  
  <p>But how can I access the field <code>rights</code> of @Access, which stores the particular access level, so that I can work with it?</p>