aboutsummaryrefslogtreecommitdiffstats
path: root/weaver5
diff options
context:
space:
mode:
authoraclement <aclement>2008-01-25 02:32:26 +0000
committeraclement <aclement>2008-01-25 02:32:26 +0000
commit7a6c7cffe4b6180b942b5e496660b8ac57fbe579 (patch)
tree9cc424358ad329d392367f2600b6b4e3374b2c3a /weaver5
parentaf842fa12e8ff47a1f5bc669b19f3a704aeddd9a (diff)
downloadaspectj-7a6c7cffe4b6180b942b5e496660b8ac57fbe579.tar.gz
aspectj-7a6c7cffe4b6180b942b5e496660b8ac57fbe579.zip
paramannos: testcode
Diffstat (limited to 'weaver5')
-rw-r--r--weaver5/java5-testsrc/test/A.java16
-rw-r--r--weaver5/java5-testsrc/test/A1.java9
-rw-r--r--weaver5/java5-testsrc/test/A1AnnotatedType.java6
-rw-r--r--weaver5/java5-testsrc/test/A2.java9
-rw-r--r--weaver5/java5-testsrc/test/A2AnnotatedType.java6
5 files changed, 46 insertions, 0 deletions
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 {
+
+}