import java.lang.reflect.Method;
import java.util.Collections;
import java.util.Map;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutionException;
<BUG>@UtilityClass
public class SpringRestClientFactory {
</BUG>
private Cache<Class, Object> restClientCache = CacheBuilder.newBuilder().build();
<BUG>public <T> T getRestClient(
final Class<T> restClientClass, final ApplicationContext appContext) {
</BUG>
Obj.ensureInterface(restClientClass);

import java.lang.reflect.Method;
import java.util.Collections;
import java.util.Map;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutionException;
@UtilityClass public class SpringRestClientFactory {
private Cache<Class, Object> restClientCache = CacheBuilder.newBuilder().build();
public <T> T getRestClient(final Class<T> restClientClass, final ApplicationContext appContext) {
Obj.ensureInterface(restClientClass);
