]> source.dussan.org Git - aspectj.git/commitdiff
paramannos: testcode
authoraclement <aclement>
Fri, 25 Jan 2008 02:32:26 +0000 (02:32 +0000)
committeraclement <aclement>
Fri, 25 Jan 2008 02:32:26 +0000 (02:32 +0000)
weaver5/java5-testsrc/test/A.java [new file with mode: 0644]
weaver5/java5-testsrc/test/A1.java [new file with mode: 0644]
weaver5/java5-testsrc/test/A1AnnotatedType.java [new file with mode: 0644]
weaver5/java5-testsrc/test/A2.java [new file with mode: 0644]
weaver5/java5-testsrc/test/A2AnnotatedType.java [new file with mode: 0644]

diff --git a/weaver5/java5-testsrc/test/A.java b/weaver5/java5-testsrc/test/A.java
new file mode 100644 (file)
index 0000000..9b96e2a
--- /dev/null
@@ -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 (file)
index 0000000..9a62e57
--- /dev/null
@@ -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 (file)
index 0000000..7b49b03
--- /dev/null
@@ -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 (file)
index 0000000..2604f76
--- /dev/null
@@ -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 (file)
index 0000000..c1938e7
--- /dev/null
@@ -0,0 +1,6 @@
+package test;
+
+@A2
+public class A2AnnotatedType {
+
+}