summaryrefslogtreecommitdiffstats
path: root/tests/ajde/examples/figures-cacm/figures/PointBoundsChecking.java
blob: 9338b26b7572b8a2fa198a0b973ec2e26854f176 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package figures;

aspect PointBoundsChecking {

  pointcut tracePoints(): call(void Point.setX(int)) ||
                          call(void Point.setY(int));

  before(): tracePoints() {
    System.out.println("Entering:" + thisJoinPoint);
  }
}