aboutsummaryrefslogtreecommitdiffstats
path: root/tests/features1611
diff options
context:
space:
mode:
authoraclement <aclement>2011-08-05 16:18:19 +0000
committeraclement <aclement>2011-08-05 16:18:19 +0000
commit816abde05d504d408425f490afe4d0150603029c (patch)
treee9e60631853a6f500b86f274b13c62f027874a43 /tests/features1611
parentfd895352faa077e7b9e67e23b82b52f03b682e60 (diff)
downloadaspectj-816abde05d504d408425f490afe4d0150603029c.tar.gz
aspectj-816abde05d504d408425f490afe4d0150603029c.zip
experimental meta anno matching syntax test case
Diffstat (limited to 'tests/features1611')
-rw-r--r--tests/features1611/metamatching/Code.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/features1611/metamatching/Code.java b/tests/features1611/metamatching/Code.java
new file mode 100644
index 000000000..9111ed897
--- /dev/null
+++ b/tests/features1611/metamatching/Code.java
@@ -0,0 +1,19 @@
+import java.lang.annotation.*;
+
+@Retention(RetentionPolicy.RUNTIME)
+@interface Meta {}
+
+@Retention(RetentionPolicy.RUNTIME)
+@Meta
+@interface Foo {}
+
+public class Code {
+
+ @Foo
+ public void m() {}
+}
+aspect X {
+ before(): execution(@@Meta * *(..)) {
+ }
+}
+