Aspect around call on annotated field
<p>I want AspectJ to inject the measuring code around all invocations of any method, on fields annotated with @Measured and capture the method's name.
This is what I have: </p>

<pre><code>@Pointcut("get(@my.annotation.Measured * *) &amp;&amp; @annotation(measured)")
public void fieldAnnotatedWithMeasured(Measured measured) {}

@Around(value = "fieldAnnotatedWithMeasured(measured)", argNames = "joinPoint,measured")
public Object measureField(ProceedingJoinPoint joinPoint, Measured measured) throws Throwable {...}
</code></pre>

<p>Use case:</p>

<pre><code>public class A { 

  @Measured private Service service;
  ...
  void call(){
    service.call(); // here I want to measure the call() time and capture its name
  }
</code></pre>

<p>This seems to surround only the access to the field, not the method invocation. I want to capture the invoked method name instide the advise. </p>