// Generated by dagger.internal.codegen.ComponentProcessor (https://google.github.io/dagger).
package com.sample.sample.modules;

import android.content.Context;
import com.sample.sample.interfaces.SampleAppService;
import dagger.internal.Factory;
import dagger.internal.Preconditions;
import javax.inject.Provider;
import okhttp3.OkHttpClient;

public final class SampleAppModule_ProvidesTMIServiceFactory implements Factory<SampleAppService> {
  private final SampleAppModule module;

  private final Provider<OkHttpClient> okHttpClientProvider;

  private final Provider<Context> contextProvider;

  public SampleAppModule_ProvidesTMIServiceFactory(
      SampleAppModule module,
      Provider<OkHttpClient> okHttpClientProvider,
      Provider<Context> contextProvider) {
    assert module != null;
    this.module = module;
    assert okHttpClientProvider != null;
    this.okHttpClientProvider = okHttpClientProvider;
    assert contextProvider != null;
    this.contextProvider = contextProvider;
  }

  @Override
  public SampleAppService get() {
    return Preconditions.checkNotNull(
        module.providesTMIService(okHttpClientProvider.get(), contextProvider.get()),
        "Cannot return null from a non-@Nullable @Provides method");
  }

  public static Factory<SampleAppService> create(
      SampleAppModule module,
      Provider<OkHttpClient> okHttpClientProvider,
      Provider<Context> contextProvider) {
    return new SampleAppModule_ProvidesTMIServiceFactory(
        module, okHttpClientProvider, contextProvider);
  }

  /** Proxies {@link SampleAppModule#providesTMIService(OkHttpClient, Context)}. */
  public static SampleAppService proxyProvidesTMIService(
      SampleAppModule instance, OkHttpClient okHttpClient, Context context) {
    return instance.providesTMIService(okHttpClient, context);
  }
}
