Figure out how to wrap java . macro function calls