From 43952a14cc039272b51a1bb7a0e587e640077d18 Mon Sep 17 00:00:00 2001 From: aclement Date: Wed, 1 Jun 2005 14:57:50 +0000 Subject: GenericsWork: Some sick signatures that are possible, not all currently used in testing --- bcel-builder/testdata/PossibleGenericsSigs.java | 36 ++++++++++++++++++++++++ bcel-builder/testdata/testcode.jar | Bin 15279 -> 16370 bytes 2 files changed, 36 insertions(+) create mode 100644 bcel-builder/testdata/PossibleGenericsSigs.java (limited to 'bcel-builder') 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 List_String) {} + + public void b(List List_Double) {} + + public void c(List q_extends_Number) {} + + public void d(List q_super_Number) {} + + public void e(List List_q) {} + + public void f(Map Map_q_q_super_Number) {} + + + + > void r(List l) {} + + > T s(Collection col) {return null;} + + static > T t(Collection col) {return null;} + + static > T u(Collection col) {return null;} + + X v(Collection x) {return null;} + + public void w(List>>>> wtf) {} + + static void x(List a,List b) {} + + void y(Map n) {} + + static void z(T[] ts,Collection c) {} +} diff --git a/bcel-builder/testdata/testcode.jar b/bcel-builder/testdata/testcode.jar index 3324bf340..d954f728a 100644 Binary files a/bcel-builder/testdata/testcode.jar and b/bcel-builder/testdata/testcode.jar differ -- cgit v1.2.3