title: Aspectj matching pointcut whilst not caring about method-level annotation parameters
body: <p>I have stumped myself with a problem involving Aspectj. What I am looking to do is have an "after() throwing" match against a call annotated with a method-level annotation.</p>
  
  <pre><code>@MyAnnotation    
  public void doSomething(Param p1, Param p2)
  </code></pre>
  
  <p>If I use</p>
  
  <pre><code>after() throwing(MyCustomException ex) : call (@com.me.MyAnnotation * *.*(..))
  </code></pre>
  
  <p>It works, however if I have add some parameters to my annotation then they do not get matched.</p>
  
  <pre><code>@MyAnnotation(value = "doobery")    
  public void doSomething(Param p1, Param p2)
  </code></pre>
  
  <p>What am I missing from my pointcut??</p>
  
  <p>Just to clarify, I would like to match both examples and I don't care for the parameters in the annotation either.</p>
  
  <p>Version of AspectJ 1.6</p>