diff options
Diffstat (limited to 'tests/ajde/examples/figures-cacm/figures/SimpleTracing.java')
-rw-r--r-- | tests/ajde/examples/figures-cacm/figures/SimpleTracing.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/ajde/examples/figures-cacm/figures/SimpleTracing.java b/tests/ajde/examples/figures-cacm/figures/SimpleTracing.java new file mode 100644 index 000000000..d65eb158a --- /dev/null +++ b/tests/ajde/examples/figures-cacm/figures/SimpleTracing.java @@ -0,0 +1,13 @@ + +package figures; + +aspect SimpleTracing { + + pointcut tracePoints(): call(void Point.setX(int)) || + call(void Point.setY(int)); + + before(): tracePoints() { + System.out.println("Entering:" + thisJoinPoint); + } +} + |