diff options
author | aclement <aclement> | 2006-07-04 16:53:37 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-07-04 16:53:37 +0000 |
commit | 4a8b8532694b79c106efd1eb70070e71174b6f1a (patch) | |
tree | a5d6e894e69bb05a76f3c4f5e14a37adc61aa2be /tests/bugs153/pr148693 | |
parent | 6becfea965f575ea82af8581d8551b4ed5537ed8 (diff) | |
download | aspectj-4a8b8532694b79c106efd1eb70070e71174b6f1a.tar.gz aspectj-4a8b8532694b79c106efd1eb70070e71174b6f1a.zip |
testcode for 149305, 149096, 149305
Diffstat (limited to 'tests/bugs153/pr148693')
-rw-r--r-- | tests/bugs153/pr148693/MyAspect.java | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/bugs153/pr148693/MyAspect.java b/tests/bugs153/pr148693/MyAspect.java new file mode 100644 index 000000000..b4fa5bb79 --- /dev/null +++ b/tests/bugs153/pr148693/MyAspect.java @@ -0,0 +1,19 @@ +package mypackage; + +public aspect MyAspect { + + pointcut executeMethod(): within(TestClass) && execution(* *(..)); + + before(): executeMethod() { + System.out.println("Enter "+thisJoinPointStaticPart); + } + after(): executeMethod() { + System.out.println("Leave "+thisJoinPointStaticPart); + } +} + +class TestClass { + +public static void main(String[] args) { } + +} |