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

import android.app.Application;
import android.content.Context;
import dagger.internal.Factory;
import dagger.internal.Preconditions;
import javax.inject.Provider;

public final class AppModule_ProvidesContextFactory implements Factory<Context> {
  private final AppModule module;

  private final Provider<Application> appProvider;

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

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

  public static Context provideInstance(AppModule module, Provider<Application> appProvider) {
    return proxyProvidesContext(module, appProvider.get());
  }

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

  public static Context proxyProvidesContext(AppModule instance, Application app) {
    return Preconditions.checkNotNull(
        instance.providesContext(app), "Cannot return null from a non-@Nullable @Provides method");
  }
}
