checkpoint in generator for jni bindings