contrib/jwrapper: support wildcards with a default bound
authorAlexis Laferrière <alexis.laf@xymus.net>
Mon, 20 Jul 2015 02:49:06 +0000 (22:49 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Mon, 20 Jul 2015 21:34:48 +0000 (17:34 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

contrib/jwrapper/src/javap_visitor.nit

index d4a0ea2..4c80fb3 100644 (file)
@@ -206,6 +206,11 @@ redef class N_39dlong_39d
        redef fun accept_visitor(v) do v.add_identifier self
 end
 
+redef class Nwildcard
+       # TODO use the lower bound
+       redef fun accept_visitor(v) do v.add_identifier "Object"
+end
+
 #                                  #
 #    C L A S S     H E A D E R     #
 #                                  #