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

aspect SimpleTracing {

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

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