boolean hasResponse = methodInfo.responseType() != null;
if (hasResponse) {
builder.responseVarName(symbolTable.getNewSymbol(namer.getResponseVarName()));
}
String optParamsVarName = "";
<BUG>if (methodInfo.isPageStreaming() || methodInfo.hasMediaDownload()) {
optParamsVarName = namer.localVarName(Name.lowerCamel("optParams"));</BUG>
methodCallFieldVarNames.add(optParamsVarName);
}
return builder

boolean hasResponse = methodInfo.responseType() != null;
if (hasResponse) {
builder.responseVarName(symbolTable.getNewSymbol(namer.getResponseVarName()));
}
String optParamsVarName = "";
if (methodInfo.isPageStreaming()
|| methodInfo.hasMediaDownload()
|| !optionalFields.isEmpty()) {
optParamsVarName = namer.localVarName(Name.lowerCamel("optParams"));
methodCallFieldVarNames.add(optParamsVarName);
}
return builder
