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

import android.content.Context;
import dagger.internal.Factory;
import dagger.internal.Preconditions;

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

  public AppModule_ProvidesApplicationContextFactory(AppModule module) {
    assert module != null;
    this.module = module;
  }

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

  public static Factory<Context> create(AppModule module) {
    return new AppModule_ProvidesApplicationContextFactory(module);
  }

  /** Proxies {@link AppModule#providesApplicationContext()}. */
  public static Context proxyProvidesApplicationContext(AppModule instance) {
    return instance.providesApplicationContext();
  }
}
