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

import com.google.gson.Gson;
import com.google.gson.JsonDeserializer;
import dagger.internal.Factory;
import dagger.internal.Preconditions;
import java.util.Map;
import javax.inject.Provider;

public final class NetworkModule_ProvidesGsonFactory implements Factory<Gson> {
  private final NetworkModule module;

  private final Provider<Map<Class<?>, JsonDeserializer<?>>> adaptersProvider;

  public NetworkModule_ProvidesGsonFactory(
      NetworkModule module, Provider<Map<Class<?>, JsonDeserializer<?>>> adaptersProvider) {
    this.module = module;
    this.adaptersProvider = adaptersProvider;
  }

  @Override
  public Gson get() {
    return provideInstance(module, adaptersProvider);
  }

  public static Gson provideInstance(
      NetworkModule module, Provider<Map<Class<?>, JsonDeserializer<?>>> adaptersProvider) {
    return proxyProvidesGson(module, adaptersProvider.get());
  }

  public static NetworkModule_ProvidesGsonFactory create(
      NetworkModule module, Provider<Map<Class<?>, JsonDeserializer<?>>> adaptersProvider) {
    return new NetworkModule_ProvidesGsonFactory(module, adaptersProvider);
  }

  public static Gson proxyProvidesGson(
      NetworkModule instance, Map<Class<?>, JsonDeserializer<?>> adapters) {
    return Preconditions.checkNotNull(
        instance.providesGson(adapters),
        "Cannot return null from a non-@Nullable @Provides method");
  }
}
