migrated JvmModelInferrer