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

import com.example.dagger2_20210703.di.Presenter;
import com.example.dagger2_20210703.object.DatabaseObject;
import com.example.dagger2_20210703.object.HttpObject;
import dagger.MembersInjector;
import javax.inject.Provider;

public final class MainActivity_MembersInjector implements MembersInjector<MainActivity> {
  private final Provider<HttpObject> httpObjectAndHttpObject2Provider;

  private final Provider<DatabaseObject> databaseObjectProvider;

  private final Provider<Presenter> presenterProvider;

  public MainActivity_MembersInjector(
      Provider<HttpObject> httpObjectAndHttpObject2Provider,
      Provider<DatabaseObject> databaseObjectProvider,
      Provider<Presenter> presenterProvider) {
    assert httpObjectAndHttpObject2Provider != null;
    this.httpObjectAndHttpObject2Provider = httpObjectAndHttpObject2Provider;
    assert databaseObjectProvider != null;
    this.databaseObjectProvider = databaseObjectProvider;
    assert presenterProvider != null;
    this.presenterProvider = presenterProvider;
  }

  public static MembersInjector<MainActivity> create(
      Provider<HttpObject> httpObjectAndHttpObject2Provider,
      Provider<DatabaseObject> databaseObjectProvider,
      Provider<Presenter> presenterProvider) {
    return new MainActivity_MembersInjector(
        httpObjectAndHttpObject2Provider, databaseObjectProvider, presenterProvider);
  }

  @Override
  public void injectMembers(MainActivity instance) {
    if (instance == null) {
      throw new NullPointerException("Cannot inject members into a null reference");
    }
    instance.httpObject = httpObjectAndHttpObject2Provider.get();
    instance.httpObject2 = httpObjectAndHttpObject2Provider.get();
    instance.databaseObject = databaseObjectProvider.get();
    instance.presenter = presenterProvider.get();
  }

  public static void injectHttpObject(
      MainActivity instance, Provider<HttpObject> httpObjectProvider) {
    instance.httpObject = httpObjectProvider.get();
  }

  public static void injectHttpObject2(
      MainActivity instance, Provider<HttpObject> httpObject2Provider) {
    instance.httpObject2 = httpObject2Provider.get();
  }

  public static void injectDatabaseObject(
      MainActivity instance, Provider<DatabaseObject> databaseObjectProvider) {
    instance.databaseObject = databaseObjectProvider.get();
  }

  public static void injectPresenter(MainActivity instance, Provider<Presenter> presenterProvider) {
    instance.presenter = presenterProvider.get();
  }
}
