From: aclement Date: Fri, 25 Jan 2008 02:32:26 +0000 (+0000) Subject: paramannos: testcode X-Git-Tag: V1_6_0M2~91 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7a6c7cffe4b6180b942b5e496660b8ac57fbe579;p=aspectj.git paramannos: testcode --- diff --git a/weaver5/java5-testsrc/test/A.java b/weaver5/java5-testsrc/test/A.java new file mode 100644 index 000000000..9b96e2a8f --- /dev/null +++ b/weaver5/java5-testsrc/test/A.java @@ -0,0 +1,16 @@ +package test; + +public class A { + public void a(String s) {} + public void b(@A1 String s) {} + public void c(@A1 @A2 String s) {} + public void d(@A1 String s,@A2 String t) {} + + public void e(A1AnnotatedType s) {} + public void f(A2AnnotatedType s) {} + public void g(@A2 A1AnnotatedType s) {} + public void h(@A1 A1AnnotatedType s) {} + public void i(A1AnnotatedType s,@A2 String t) {} + public void j(@A1 @A2 String s) {} + +} diff --git a/weaver5/java5-testsrc/test/A1.java b/weaver5/java5-testsrc/test/A1.java new file mode 100644 index 000000000..9a62e57ae --- /dev/null +++ b/weaver5/java5-testsrc/test/A1.java @@ -0,0 +1,9 @@ +package test; + +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; + +@Retention(RetentionPolicy.RUNTIME) +public @interface A1 { + +} diff --git a/weaver5/java5-testsrc/test/A1AnnotatedType.java b/weaver5/java5-testsrc/test/A1AnnotatedType.java new file mode 100644 index 000000000..7b49b03bf --- /dev/null +++ b/weaver5/java5-testsrc/test/A1AnnotatedType.java @@ -0,0 +1,6 @@ +package test; + +@A1 +public class A1AnnotatedType { + +} diff --git a/weaver5/java5-testsrc/test/A2.java b/weaver5/java5-testsrc/test/A2.java new file mode 100644 index 000000000..2604f7660 --- /dev/null +++ b/weaver5/java5-testsrc/test/A2.java @@ -0,0 +1,9 @@ +package test; + +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; + +@Retention(RetentionPolicy.RUNTIME) +public @interface A2 { + +} diff --git a/weaver5/java5-testsrc/test/A2AnnotatedType.java b/weaver5/java5-testsrc/test/A2AnnotatedType.java new file mode 100644 index 000000000..c1938e74a --- /dev/null +++ b/weaver5/java5-testsrc/test/A2AnnotatedType.java @@ -0,0 +1,6 @@ +package test; + +@A2 +public class A2AnnotatedType { + +}