diff options
Diffstat (limited to 'tests/bugs/faultingInSource/SimpleTracing.java')
-rw-r--r-- | tests/bugs/faultingInSource/SimpleTracing.java | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/bugs/faultingInSource/SimpleTracing.java b/tests/bugs/faultingInSource/SimpleTracing.java new file mode 100644 index 000000000..231cac762 --- /dev/null +++ b/tests/bugs/faultingInSource/SimpleTracing.java @@ -0,0 +1,15 @@ +aspect SimpleTracing +{ + pointcut traceCall(): + call (void SampleClass.foo(..)); + + before(): traceCall() + { + System.out.println ("Entering: " + thisJoinPoint); + } + + after(): traceCall() + { + System.out.println ("Exiting: " + thisJoinPoint); + } +} |