From 963dcf64db82ee2ecc7cfa82e7c9a33894c65845 Mon Sep 17 00:00:00 2001 From: aclement Date: Wed, 8 Dec 2004 10:25:38 +0000 Subject: [PATCH] Annotation matching. --- weaver/testdata/AnnotatedClass.java | 2 ++ weaver/testdata/Boo.java | 6 ++++++ weaver/testdata/Foo.java | 6 ++++++ weaver/testdata/Goo.java | 6 ++++++ weaver/testdata/SimpleAnnotation.java | 1 + weaver/testdata/testcode.jar | Bin 817 -> 1859 bytes 6 files changed, 21 insertions(+) create mode 100644 weaver/testdata/Boo.java create mode 100644 weaver/testdata/Foo.java create mode 100644 weaver/testdata/Goo.java 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 45e0d8e7857d16c72d1d731ce7deac9b4999c3ce..4e0ff654e8ec8d0e2999c5ca7062832dd7b0a3ed 100644 GIT binary patch literal 1859 zcmWIWW@h1H0D&6k4nr^lN-zQG0{sA>ya)pa5TeVA0OcL?^72a(OHxyua}tY-^^!qk zYTs!;CPx9+{Idson3$OCB6fYAXpp$p&`?E9McDVqhWrJKUDK*g*!Hc&f}}kKF@AC%pESH&GNpD_xW~~?|+iKR`g72RomiZ_G@8Bx>ar1BhMEtCu3ZL zr*7Iiy?^STsj5q4r#-7O>lE}-L`q0K<&PcV+`7^we_xqo}4EtVNH^VNl8hi`c~Dn3x2WBB)8>cp$1 z;^%A?>vdi09O|Z6M6GC@@MyN=vucAg_a8nNci{JJ+~wf>pi@91bN@D@+XC}$&pjFS zF7?Rj&@CTkZd+})a8p6$v{f6;x}G{e-=!}2Q1#r}>(O6VmRlKSC9M5?DLcKq<@#)e zO2tJHm8t&1$ESV2^kk02KjqqTx8?V91U?ph`)DRB*j2-_u=4BK$y>c_7nYj8s*3bb z5Rq{G$2^robxNhygNHG!Oz%pc$xDj1YGt{D!r@kVbooV~FHH%CgBv0ocKaQ65SUY% zbnb~Omy}je|K5yp6_+iaRNHrCec%Vinvf&2ngSF8&%E>ad?CyJ z`+IqYX*0BaMANv`TXuZAX5MnS`}FR$_gXn<|2ZNLHpZS`Vs+$jd}Fu4S$}@;kS}_zpdroex+KmMKhRp zD^I@l$nUm~)Nk`O^Y6`i63wJFuh!@Oz4@G#mQ5G-Jvr8Gs@`~EZ&c~dHU0`uSSl-- zMLAeSTAv13`L=F))AmBtacZFRUw%+1=x+XE2?_-hyrCcgR8gQGoS9pYlL{?+GV}9b zS;X5Lm^A(^%ZypOe%rNXb=#@ml0Mv-yuj(8cxTo9Be^p--JOyW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