aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs1810/508661/CacheMethodResultAspect.java
blob: d7626a917fcdf67125daabeee33b3f654524fd1b (plain)
1
2
3
4
5
6
7
8
9
10
aspect CacheMethodResultAspect perthis(cache()) {

  pointcut cache() : execution(@CacheMethodResult * *.*(..));

  Object around() : cache() {
    System.out.println("around: "+thisJoinPointStaticPart.getSignature());
    return proceed();
  }
}