1 2 3 4 5 6 7
public class Pair<F, S> { public Pair(F first, S second) { } } aspect IdempotentCache pertarget(cached()) { pointcut cached(): execution(public * *(..)) && within(Pair); }