From: aclement Date: Wed, 8 Dec 2004 10:25:38 +0000 (+0000) Subject: Annotation matching. X-Git-Tag: Root_AspectJ5_Development~185 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=963dcf64db82ee2ecc7cfa82e7c9a33894c65845;p=aspectj.git Annotation matching. --- diff --git a/weaver/testdata/AnnotatedClass.java b/weaver/testdata/AnnotatedClass.java index 0c9429bde..f9eea83f4 100644 --- a/weaver/testdata/AnnotatedClass.java +++ b/weaver/testdata/AnnotatedClass.java @@ -1,3 +1,5 @@ +import p.SimpleAnnotation; + @SimpleAnnotation(id=2) public class AnnotatedClass { diff --git a/weaver/testdata/Boo.java b/weaver/testdata/Boo.java new file mode 100644 index 000000000..f984203f6 --- /dev/null +++ b/weaver/testdata/Boo.java @@ -0,0 +1,6 @@ +import java.lang.annotation.*; + +@Retention(RetentionPolicy.RUNTIME) +public @interface Boo { + String landmark(); +} diff --git a/weaver/testdata/Foo.java b/weaver/testdata/Foo.java new file mode 100644 index 000000000..27be9bbd9 --- /dev/null +++ b/weaver/testdata/Foo.java @@ -0,0 +1,6 @@ +import java.lang.annotation.*; + +@Retention(RetentionPolicy.RUNTIME) +public @interface Foo { + String color(); +} diff --git a/weaver/testdata/Goo.java b/weaver/testdata/Goo.java new file mode 100644 index 000000000..2faa189d9 --- /dev/null +++ b/weaver/testdata/Goo.java @@ -0,0 +1,6 @@ +import java.lang.annotation.*; + +@Retention(RetentionPolicy.RUNTIME) +public @interface Goo { + String weather(); +} diff --git a/weaver/testdata/SimpleAnnotation.java b/weaver/testdata/SimpleAnnotation.java index 5b4303755..f0e8c8435 100644 --- a/weaver/testdata/SimpleAnnotation.java +++ b/weaver/testdata/SimpleAnnotation.java @@ -1,3 +1,4 @@ +package p; import java.lang.annotation.*; @Retention(RetentionPolicy.RUNTIME) diff --git a/weaver/testdata/testcode.jar b/weaver/testdata/testcode.jar index 45e0d8e78..4e0ff654e 100644 Binary files a/weaver/testdata/testcode.jar and b/weaver/testdata/testcode.jar differ