aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs/pointcutdoctor-bug193065/Aspect.aj
diff options
context:
space:
mode:
authoraclement <aclement>2007-12-07 13:32:24 +0000
committeraclement <aclement>2007-12-07 13:32:24 +0000
commita36f9ce5a39bf5161996374ccce8384fcde39025 (patch)
tree26486263c4cc0e40bffd7124524db40d0d4c11b0 /tests/bugs/pointcutdoctor-bug193065/Aspect.aj
parentd32f09ff0dafcc36a7655dc6fbda35f5b4feff62 (diff)
downloadaspectj-a36f9ce5a39bf5161996374ccce8384fcde39025.tar.gz
aspectj-a36f9ce5a39bf5161996374ccce8384fcde39025.zip
PointcutDoctor javadoc - 193065
Diffstat (limited to 'tests/bugs/pointcutdoctor-bug193065/Aspect.aj')
-rw-r--r--tests/bugs/pointcutdoctor-bug193065/Aspect.aj18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/bugs/pointcutdoctor-bug193065/Aspect.aj b/tests/bugs/pointcutdoctor-bug193065/Aspect.aj
new file mode 100644
index 000000000..60766b74f
--- /dev/null
+++ b/tests/bugs/pointcutdoctor-bug193065/Aspect.aj
@@ -0,0 +1,18 @@
+
+public aspect Aspect {
+ //:method-call(void Foo.method1())=real
+ //:(virtual) method-call(void Foo.method2())=virtual
+ pointcut calls(): call(* Foo.*(..));
+
+ //:(virtual) method-call(void Bar.bar())=virtual
+ pointcut callBar():call(* Bar.*(..));
+
+ //:method-call(void Foo.method1())=real
+ //:(virtual) method-call(void Foo.method2())=virtual
+ pointcut callsWithin(): call(* Foo.*(..)) && within(Bar);
+
+ //:method-call(void Foo.method1())=real
+ //:(virtual) method-call(void Foo.method2())=virtual
+ pointcut callsWithincode(): call(* Foo.*(..))&&withincode(* Bar.*(..));
+
+}