From 816abde05d504d408425f490afe4d0150603029c Mon Sep 17 00:00:00 2001 From: aclement Date: Fri, 5 Aug 2011 16:18:19 +0000 Subject: [PATCH] experimental meta anno matching syntax test case --- tests/features1611/metamatching/Code.java | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tests/features1611/metamatching/Code.java 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 * *(..)) { + } +} + -- 2.39.5