&& equalsNilable(x.getVarString(), y.getVarString())
&& equalsNilable(x.getVarStruct(), y.getVarStruct());
}
public void testStructWithNillables() throws Exception {
StructWithNillables x = new StructWithNillables();
StructWithNillables yOrig = new StructWithNillables();
yOrig.setVarFloat(new Float(1.414f));
yOrig.setVarInt(new Integer(13));
yOrig.setVarString("Cheerio");
Holder<StructWithNillables> y = new Holder<StructWithNillables>(yOrig);
Holder<StructWithNillables> z = new Holder<StructWithNillables>();
StructWithNillables ret;
if (testDocLiteral) {
ret = docClient.testStructWithNillables(x, y, z);
} else {
ret = rpcClient.testStructWithNillables(x, y, z);
}