// 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.db.AccountManager;
import net.letime.lecjoa.lecjoaApplication;

public final class AppModule_ProvidesAccountManagerFactory implements Factory<AccountManager> {
  private final AppModule module;

  private final Provider<lecjoaApplication> appProvider;

  public AppModule_ProvidesAccountManagerFactory(
      AppModule module, Provider<lecjoaApplication> appProvider) {
    this.module = module;
    this.appProvider = appProvider;
  }

  @Override
  public AccountManager get() {
    return provideInstance(module, appProvider);
  }

  public static AccountManager provideInstance(
      AppModule module, Provider<lecjoaApplication> appProvider) {
    return proxyProvidesAccountManager(module, appProvider.get());
  }

  public static AppModule_ProvidesAccountManagerFactory create(
      AppModule module, Provider<lecjoaApplication> appProvider) {
    return new AppModule_ProvidesAccountManagerFactory(module, appProvider);
  }

  public static AccountManager proxyProvidesAccountManager(
      AppModule instance, lecjoaApplication app) {
    return Preconditions.checkNotNull(
        instance.providesAccountManager(app),
        "Cannot return null from a non-@Nullable @Provides method");
  }
}
