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

import dagger.internal.Factory;
import dagger.internal.Preconditions;
import javax.inject.Provider;
import net.letime.lecjoa.appstore.EventHub;
import net.letime.lecjoa.network.MastodonApi;
import net.letime.lecjoa.network.TimelineCases;

public final class AppModule_ProvidesTimelineUseCasesFactory implements Factory<TimelineCases> {
  private final AppModule module;

  private final Provider<MastodonApi> apiProvider;

  private final Provider<EventHub> eventHubProvider;

  public AppModule_ProvidesTimelineUseCasesFactory(
      AppModule module, Provider<MastodonApi> apiProvider, Provider<EventHub> eventHubProvider) {
    this.module = module;
    this.apiProvider = apiProvider;
    this.eventHubProvider = eventHubProvider;
  }

  @Override
  public TimelineCases get() {
    return provideInstance(module, apiProvider, eventHubProvider);
  }

  public static TimelineCases provideInstance(
      AppModule module, Provider<MastodonApi> apiProvider, Provider<EventHub> eventHubProvider) {
    return proxyProvidesTimelineUseCases(module, apiProvider.get(), eventHubProvider.get());
  }

  public static AppModule_ProvidesTimelineUseCasesFactory create(
      AppModule module, Provider<MastodonApi> apiProvider, Provider<EventHub> eventHubProvider) {
    return new AppModule_ProvidesTimelineUseCasesFactory(module, apiProvider, eventHubProvider);
  }

  public static TimelineCases proxyProvidesTimelineUseCases(
      AppModule instance, MastodonApi api, EventHub eventHub) {
    return Preconditions.checkNotNull(
        instance.providesTimelineUseCases(api, eventHub),
        "Cannot return null from a non-@Nullable @Provides method");
  }
}
