isVoidReturnType = (methodSignature != null) ? Void.TYPE.equals(methodSignature.getReturnType()) : false;
}
RetryInterceptor interceptor = null;
if (isVoidReturnType) {
interceptor = new RetryInterceptorVoid(retryCallable, retryPolicy);
} else {
interceptor = new RetryInterceptorWithResult(retryCallable, retryPolicy);
}
return interceptor.execute();