Prepare native values to pass to Java