aboutsummaryrefslogtreecommitdiffstats
path: root/bcel-builder
diff options
context:
space:
mode:
authoraclement <aclement>2005-06-01 14:57:50 +0000
committeraclement <aclement>2005-06-01 14:57:50 +0000
commit43952a14cc039272b51a1bb7a0e587e640077d18 (patch)
tree11e85ad731b9ed90af44bf895de6787f3889a310 /bcel-builder
parent5027659c5ff147f0a342379f3c059404f6f3a800 (diff)
downloadaspectj-43952a14cc039272b51a1bb7a0e587e640077d18.tar.gz
aspectj-43952a14cc039272b51a1bb7a0e587e640077d18.zip
GenericsWork: Some sick signatures that are possible, not all currently used in testing
Diffstat (limited to 'bcel-builder')
-rw-r--r--bcel-builder/testdata/PossibleGenericsSigs.java36
-rw-r--r--bcel-builder/testdata/testcode.jarbin15279 -> 16370 bytes
2 files changed, 36 insertions, 0 deletions
diff --git a/bcel-builder/testdata/PossibleGenericsSigs.java b/bcel-builder/testdata/PossibleGenericsSigs.java
new file mode 100644
index 000000000..ee687b280
--- /dev/null
+++ b/bcel-builder/testdata/PossibleGenericsSigs.java
@@ -0,0 +1,36 @@
+import java.util.*;
+
+public class PossibleGenericsSigs {
+
+ public void a(List<String> List_String) {}
+
+ public void b(List<Double> List_Double) {}
+
+ public void c(List<? extends Number> q_extends_Number) {}
+
+ public void d(List<? super Number> q_super_Number) {}
+
+ public void e(List<?> List_q) {}
+
+ public void f(Map<?,? super Number> Map_q_q_super_Number) {}
+
+
+
+ <T extends Object & Comparable<? super T>> void r(List<T> l) {}
+
+ <T extends Object & Comparable<? super T>> T s(Collection<T> col) {return null;}
+
+ static <T extends Comparable<? super Number>> T t(Collection<T> col) {return null;}
+
+ static <T extends Comparable<T>> T u(Collection<T> col) {return null;}
+
+ <X> X v(Collection<X> x) {return null;}
+
+ public void w(List<List<List<List<List<? extends List>>>>> wtf) {}
+
+ static <T> void x(List <T> a,List<? extends T> b) {}
+
+ <T extends Number> void y(Map<T,? super Number> n) {}
+
+ static <T> void z(T[] ts,Collection<T> c) {}
+}
diff --git a/bcel-builder/testdata/testcode.jar b/bcel-builder/testdata/testcode.jar
index 3324bf340..d954f728a 100644
--- a/bcel-builder/testdata/testcode.jar
+++ b/bcel-builder/testdata/testcode.jar
Binary files differ