JNI code-generator