public Object load(Class restClientClass, ApplicationContext appContext) {
val generator = new ClassGenerator(restClientClass);
val restClientImplClass = generator.generate();
val object = Obj.createObject(restClientImplClass);
setSignProvider(restClientImplClass, object, restClientClass, appContext);
<BUG>setBaseUrlProvider(restClientImplClass, object, restClientClass, appContext);
setStatusMappings(restClientImplClass, object, restClientClass);</BUG>
setFixedRequestParams(restClientImplClass, object, restClientClass);
setSuccInResponseJSONProperty(restClientImplClass, object, restClientClass);
setAppContext(restClientImplClass, object, restClientClass, appContext);

public Object load(Class restClientClass, ApplicationContext appContext) {
val generator = new ClassGenerator(restClientClass);
val restClientImplClass = generator.generate();
val object = Obj.createObject(restClientImplClass);
setSignProvider(restClientImplClass, object, restClientClass, appContext);
setBaseUrlProvider(restClientImplClass, object, restClientClass, appContext);
setBasicAuthProvider(restClientImplClass, object, restClientClass, appContext);
setStatusMappings(restClientImplClass, object, restClientClass);
setFixedRequestParams(restClientImplClass, object, restClientClass);
setSuccInResponseJSONProperty(restClientImplClass, object, restClientClass);
setAppContext(restClientImplClass, object, restClientClass, appContext);
