Converts a dot-qualified method call to an infix function call.