aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs153/pr154054_2/src/MyAspect.aj
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs153/pr154054_2/src/MyAspect.aj')
-rw-r--r--tests/bugs153/pr154054_2/src/MyAspect.aj10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/bugs153/pr154054_2/src/MyAspect.aj b/tests/bugs153/pr154054_2/src/MyAspect.aj
new file mode 100644
index 000000000..b3b167963
--- /dev/null
+++ b/tests/bugs153/pr154054_2/src/MyAspect.aj
@@ -0,0 +1,10 @@
+public aspect MyAspect {
+
+ pointcut mypointcut(): execution(* getName()) && !within(MyAspect);
+
+ String around(): mypointcut() {
+ String w = proceed() + " and George";
+ return w;
+ }
+
+}