aboutsummaryrefslogtreecommitdiffstats
path: root/tests/features153/jdtlikehandleprovider/DeclareAndInjar.aj
diff options
context:
space:
mode:
Diffstat (limited to 'tests/features153/jdtlikehandleprovider/DeclareAndInjar.aj')
-rw-r--r--tests/features153/jdtlikehandleprovider/DeclareAndInjar.aj9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/features153/jdtlikehandleprovider/DeclareAndInjar.aj b/tests/features153/jdtlikehandleprovider/DeclareAndInjar.aj
new file mode 100644
index 000000000..d1b94b9c7
--- /dev/null
+++ b/tests/features153/jdtlikehandleprovider/DeclareAndInjar.aj
@@ -0,0 +1,9 @@
+public aspect DeclareAndInjar {
+
+ pointcut p() : call(* *.*(..)) && !within(DeclareAndInjar);
+ declare warning: p() : "warning";
+
+ pointcut exec() : execution(* *.*(..)) && !within(DeclareAndInjar);
+ declare error : exec() : "error";
+
+}