diff options
Diffstat (limited to 'taskdefs/testdata/incTest/src/TraceMains.java')
-rw-r--r-- | taskdefs/testdata/incTest/src/TraceMains.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/taskdefs/testdata/incTest/src/TraceMains.java b/taskdefs/testdata/incTest/src/TraceMains.java new file mode 100644 index 000000000..acf94be57 --- /dev/null +++ b/taskdefs/testdata/incTest/src/TraceMains.java @@ -0,0 +1,14 @@ + +public aspect TraceMains { + + + before() : execution(static void main(String[])) { + String m = thisJoinPointStaticPart.getSignature().toString(); + System.out.println("before " + m); + } + after() returning: execution(static void main(String[])) { + String m = thisJoinPointStaticPart.getSignature().toString(); + System.out.println("after " + m); + } + +}
\ No newline at end of file |