Copy type parameters for JVM function accessors

Otherwise generic signature wasn't correctly written to accessors, resulting in
classfiles not being valid and javac failing to compile Java sources against
them
Regenerate tests
Buildserver auto merge