diff options
author | aclement <aclement> | 2011-08-05 16:18:19 +0000 |
---|---|---|
committer | aclement <aclement> | 2011-08-05 16:18:19 +0000 |
commit | 816abde05d504d408425f490afe4d0150603029c (patch) | |
tree | e9e60631853a6f500b86f274b13c62f027874a43 /tests/features1611 | |
parent | fd895352faa077e7b9e67e23b82b52f03b682e60 (diff) | |
download | aspectj-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.java | 19 |
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 * *(..)) { + } +} + |