From: aclement Date: Tue, 7 Dec 2004 09:41:57 +0000 (+0000) Subject: Annotation Matching - test code X-Git-Tag: Root_AspectJ5_Development~195 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4273a2ddbf02819eb52e4fbbbe84a1e0ee4059ae;p=aspectj.git Annotation Matching - test code --- 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 000000000..45e0d8e78 Binary files /dev/null and b/weaver/testdata/testcode.jar differ