[cs] Started to convert functionCode functions to actual Haxe code
[java] Do not transform type parameters from NativeArray when it is used as a type parameter itself. Closes #1925