From: aclement Date: Fri, 5 Aug 2011 16:18:19 +0000 (+0000) Subject: experimental meta anno matching syntax test case X-Git-Tag: V1_6_12M2~41 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=816abde05d504d408425f490afe4d0150603029c;p=aspectj.git experimental meta anno matching syntax test case --- 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 * *(..)) { + } +} +