[java] Fix difference between how Java and Haxe see Class<>
[java] Fix difference between how Java and Haxe see Class<>

pleclech/hacking-haxe,pleclech/hacking-haxe,pleclech/hacking-haxe,pleclech/hacking-haxe,pleclech/hacking-haxe,pleclech/hacking-haxe