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

import com.sample.sample.interfaces.SampleAppService;
import com.sample.sample.repository.SampleAppRepository;
import dagger.internal.Factory;
import dagger.internal.Preconditions;
import javax.inject.Provider;

public final class SampleAppModule_ProvidesTmiRepositoryFactory
    implements Factory<SampleAppRepository> {
  private final SampleAppModule module;

  private final Provider<SampleAppService> sampleAppServiceProvider;

  public SampleAppModule_ProvidesTmiRepositoryFactory(
      SampleAppModule module, Provider<SampleAppService> sampleAppServiceProvider) {
    assert module != null;
    this.module = module;
    assert sampleAppServiceProvider != null;
    this.sampleAppServiceProvider = sampleAppServiceProvider;
  }

  @Override
  public SampleAppRepository get() {
    return Preconditions.checkNotNull(
        module.providesTmiRepository(sampleAppServiceProvider.get()),
        "Cannot return null from a non-@Nullable @Provides method");
  }

  public static Factory<SampleAppRepository> create(
      SampleAppModule module, Provider<SampleAppService> sampleAppServiceProvider) {
    return new SampleAppModule_ProvidesTmiRepositoryFactory(module, sampleAppServiceProvider);
  }

  /** Proxies {@link SampleAppModule#providesTmiRepository(SampleAppService)}. */
  public static SampleAppRepository proxyProvidesTmiRepository(
      SampleAppModule instance, SampleAppService sampleAppService) {
    return instance.providesTmiRepository(sampleAppService);
  }
}
