Helper functions for calling code generated by j2objc