@Test public void tracingOnAnnotatedMethodIsCalled() { assertThat(traceAnnotationAspect.getCalled(), is(0)); simpleService.annotated(); assertThat(traceAnnotationAspect.getCalled(), is(1)); }
public int getCalled() { return called; }
TraceAnnotationAspect { public int getCalled() { return called; } }
TraceAnnotationAspect { public int getCalled() { return called; }  }
TraceAnnotationAspect { public int getCalled() { return called; }  @Around("execution(@annotation.Trace * *(..))") void trace(ProceedingJoinPoint proceedingJP); void resetCalled(); int getCalled(); }
TraceAnnotationAspect { public int getCalled() { return called; }  @Around("execution(@annotation.Trace * *(..))") void trace(ProceedingJoinPoint proceedingJP); void resetCalled(); int getCalled();  }