]> source.dussan.org Git - aspectj.git/commitdiff
Annotation matching.
authoraclement <aclement>
Wed, 8 Dec 2004 10:25:38 +0000 (10:25 +0000)
committeraclement <aclement>
Wed, 8 Dec 2004 10:25:38 +0000 (10:25 +0000)
weaver/testdata/AnnotatedClass.java
weaver/testdata/Boo.java [new file with mode: 0644]
weaver/testdata/Foo.java [new file with mode: 0644]
weaver/testdata/Goo.java [new file with mode: 0644]
weaver/testdata/SimpleAnnotation.java
weaver/testdata/testcode.jar

index 0c9429bdee3a37021e0f688505bfad7e5fae3c18..f9eea83f4b1a69db6dc317146a8e490d7ca3d9af 100644 (file)
@@ -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 (file)
index 0000000..f984203
--- /dev/null
@@ -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 (file)
index 0000000..27be9bb
--- /dev/null
@@ -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 (file)
index 0000000..2faa189
--- /dev/null
@@ -0,0 +1,6 @@
+import java.lang.annotation.*;
+
+@Retention(RetentionPolicy.RUNTIME)
+public @interface Goo {
+  String weather();
+}
index 5b4303755a7fc08a613967b5426ff6b65a9b7bb6..f0e8c843598e6f6e6abf83e9fef06b2dc2ccb642 100644 (file)
@@ -1,3 +1,4 @@
+package p;
 import java.lang.annotation.*;
 
 @Retention(RetentionPolicy.RUNTIME)
index 45e0d8e7857d16c72d1d731ce7deac9b4999c3ce..4e0ff654e8ec8d0e2999c5ca7062832dd7b0a3ed 100644 (file)
Binary files a/weaver/testdata/testcode.jar and b/weaver/testdata/testcode.jar differ