Statement callContext =
RPCProxyUtil.generateProxyMethodCallContext(RestCallContext.class, declaringClass,
resourceMethod.getMethod(), generateInterceptedRequest(), interceptedCall)
.publicOverridesMethod("setParameters", Parameter.of(Object[].class, "parameters"))
.append(new StringStatement("super.setParameters(parameters)"))
.append(generateUrl(jaxrsParams))
.append(generateRequestBuilder(jaxrsParams))
.append(generateHeaders(jaxrsParams))
.append(new StringStatement("setRequestBuilder(requestBuilder)"))
.finish()
.finish();
return Stmt.try_()
.append(