title: Pointcuts for intercept assignment of annotated fields
body: <p>I'm writing a simple auditing framework which allows me to audit the fields of a class which are annotated with an @Audit annotation.</p>
  
  <p>Example of possible annotations</p>
  
  <pre class="lang-java prettyprint-override"><code>class User {
  
      @Audit
      private String phoneNumber;
  
      private String name;
  
      @Audit
      public getName(){
          return name;
      };
  
      public setName(String name){
          this.name=name;
      }
  }
  </code></pre>
  
  <p>So far I was only able to define a simple pointcut that watches calls to setters annotated with the @Audit annotation:</p>
  
  <pre class="lang-java prettyprint-override"><code>@Pointcut("call(* @Audit set*(*))")
  </code></pre>
  
  <p>How does a pointcut look that watches the assignment of fields that are annotated like in the above example?</p>