refactoring java/jni: short, int, long arrays support via foreign_typemap
refactoring java/jni: short, int, long arrays support via foreign_typemap

Dushistov/rust_swig,Dushistov/rust_swig,Dushistov/rust_swig,Dushistov/rust_swig,Dushistov/rust_swig