Java JNI code generator