// Generated by Dagger (https://google.github.io/dagger).
package net.letime.lecjoa.di;

import dagger.internal.Factory;
import dagger.internal.Preconditions;
import java.util.Set;
import javax.inject.Provider;
import okhttp3.OkHttpClient;
import retrofit2.Converter;
import retrofit2.Retrofit;

public final class NetworkModule_ProvidesRetrofitFactory implements Factory<Retrofit> {
  private final NetworkModule module;

  private final Provider<OkHttpClient> httpClientProvider;

  private final Provider<Set<Converter.Factory>> convertersProvider;

  public NetworkModule_ProvidesRetrofitFactory(
      NetworkModule module,
      Provider<OkHttpClient> httpClientProvider,
      Provider<Set<Converter.Factory>> convertersProvider) {
    this.module = module;
    this.httpClientProvider = httpClientProvider;
    this.convertersProvider = convertersProvider;
  }

  @Override
  public Retrofit get() {
    return provideInstance(module, httpClientProvider, convertersProvider);
  }

  public static Retrofit provideInstance(
      NetworkModule module,
      Provider<OkHttpClient> httpClientProvider,
      Provider<Set<Converter.Factory>> convertersProvider) {
    return proxyProvidesRetrofit(module, httpClientProvider.get(), convertersProvider.get());
  }

  public static NetworkModule_ProvidesRetrofitFactory create(
      NetworkModule module,
      Provider<OkHttpClient> httpClientProvider,
      Provider<Set<Converter.Factory>> convertersProvider) {
    return new NetworkModule_ProvidesRetrofitFactory(
        module, httpClientProvider, convertersProvider);
  }

  public static Retrofit proxyProvidesRetrofit(
      NetworkModule instance, OkHttpClient httpClient, Set<Converter.Factory> converters) {
    return Preconditions.checkNotNull(
        instance.providesRetrofit(httpClient, converters),
        "Cannot return null from a non-@Nullable @Provides method");
  }
}
