public privileged aspect A { private static final int MAX = 1000; void around(C c, int x): call(void C.incI(int)) && target(c) && args(x) { if (c.i + x > MAX) throw new RuntimeException(); proceed(c, x); } }