From 4273a2ddbf02819eb52e4fbbbe84a1e0ee4059ae Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 7 Dec 2004 09:41:57 +0000 Subject: [PATCH] Annotation Matching - test code --- weaver/testdata/AnnotatedClass.java | 10 ++++++++++ weaver/testdata/SimpleAnnotation.java | 7 +++++++ weaver/testdata/build-15.xml | 11 +++++++++++ weaver/testdata/testcode.jar | Bin 0 -> 817 bytes 4 files changed, 28 insertions(+) create mode 100644 weaver/testdata/AnnotatedClass.java create mode 100644 weaver/testdata/SimpleAnnotation.java create mode 100644 weaver/testdata/build-15.xml create mode 100644 weaver/testdata/testcode.jar diff --git a/weaver/testdata/AnnotatedClass.java b/weaver/testdata/AnnotatedClass.java new file mode 100644 index 000000000..0c9429bde --- /dev/null +++ b/weaver/testdata/AnnotatedClass.java @@ -0,0 +1,10 @@ +@SimpleAnnotation(id=2) +public class AnnotatedClass { + + @SimpleAnnotation(id=3) + public void m1() { } + + @SimpleAnnotation(id=4) + int i; +} + diff --git a/weaver/testdata/SimpleAnnotation.java b/weaver/testdata/SimpleAnnotation.java new file mode 100644 index 000000000..5b4303755 --- /dev/null +++ b/weaver/testdata/SimpleAnnotation.java @@ -0,0 +1,7 @@ +import java.lang.annotation.*; + +@Retention(RetentionPolicy.RUNTIME) +public @interface SimpleAnnotation { + int id(); + String fruit() default "bananas"; +} diff --git a/weaver/testdata/build-15.xml b/weaver/testdata/build-15.xml new file mode 100644 index 000000000..d38a7705f --- /dev/null +++ b/weaver/testdata/build-15.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/weaver/testdata/testcode.jar b/weaver/testdata/testcode.jar new file mode 100644 index 0000000000000000000000000000000000000000..45e0d8e7857d16c72d1d731ce7deac9b4999c3ce GIT binary patch literal 817 zcmWIWW@Zs#-~hsxdiEH2hd29c?K{{Dv?1diU{GDR!I z;e)(;{y$HJIi_lDM_QI#bn$r~edEQ1vh0kH)s;pcAFzLLmQ2s)Z)l%;b8hAS@85nu z|IB@W<1br`%ukDNg-#07j1|Aghc9~&;y$N%&Wq^eO-`b7X3n|5yL`^Rb^Pl&_|C_E zTrK$Odd`j=iaXMu3obM}_iWY$zMC(8hf2MEI$6j)d-B;3p_Qt)%T3pa>gx#3-C%V6 zbK#;-ci5IFOFs~jx}39h&P(fU4*9_r5i877OZ^(yX0=><7Pn??(hQByHZ>jMRbdZA z_;j4U{r|A!`qOJu-krWVGa;NM{Zzcp%1RP?_&Dm^(LXZ^apo=sw{^uP7yfQ)n&WTUgoae z7ccj)-IY^*G~KQ7c@b+lz511d&+x?{WCC7+Q7la$RxsmNS4S!3QCr!09zsr@J2NO*>q6QBS0L`KI{<@ T;LXYgQpW^@Z9sY|6Nm=@4O~Hn literal 0 HcmV?d00001 -- 2.39.5