Use new Java client in generated example code