aboutsummaryrefslogtreecommitdiffstats
path: root/tests/features153/jdtlikehandleprovider/AdviceAndInjar.aj
diff options
context:
space:
mode:
Diffstat (limited to 'tests/features153/jdtlikehandleprovider/AdviceAndInjar.aj')
-rw-r--r--tests/features153/jdtlikehandleprovider/AdviceAndInjar.aj17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/features153/jdtlikehandleprovider/AdviceAndInjar.aj b/tests/features153/jdtlikehandleprovider/AdviceAndInjar.aj
new file mode 100644
index 000000000..68a6ad56a
--- /dev/null
+++ b/tests/features153/jdtlikehandleprovider/AdviceAndInjar.aj
@@ -0,0 +1,17 @@
+public aspect AdviceAndInjar {
+
+ pointcut p() : call(* *.*(..)) && !within(AdviceAndInjar);
+
+ before() : p() {
+ }
+
+ after() : p() {
+ }
+
+ pointcut p1() : execution(* *.*(..)) && !within(AdviceAndInjar);
+
+ Object around() : p1() {
+ return proceed();
+ }
+
+}