public final class

BaseLayerModule_ProvideDefaultFailureHanderFactory

extends java.lang.Object

 java.lang.Object

↳androidx.test.espresso.base.BaseLayerModule_ProvideDefaultFailureHanderFactory

Gradle dependencies

compile group: 'androidx.test.espresso', name: 'espresso-core', version: '3.6.1'

  • groupId: androidx.test.espresso
  • artifactId: espresso-core
  • version: 3.6.1

Artifact androidx.test.espresso:espresso-core:3.6.1 it located at Google repository (https://maven.google.com/)

Androidx artifact mapping:

androidx.test.espresso:espresso-core com.android.support.test.espresso:espresso-core

Summary

Constructors
publicBaseLayerModule_ProvideDefaultFailureHanderFactory(BaseLayerModule module, <any> contextProvider)

Methods
public static BaseLayerModule_ProvideDefaultFailureHanderFactorycreate(BaseLayerModule module, <any> contextProvider)

public DefaultFailureHandlerget()

public static DefaultFailureHandlerprovideDefaultFailureHander(BaseLayerModule instance, Context context)

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public BaseLayerModule_ProvideDefaultFailureHanderFactory(BaseLayerModule module, <any> contextProvider)

Methods

public static BaseLayerModule_ProvideDefaultFailureHanderFactory create(BaseLayerModule module, <any> contextProvider)

public static DefaultFailureHandler provideDefaultFailureHander(BaseLayerModule instance, Context context)

Source

// Generated by Dagger (https://dagger.dev).
package androidx.test.espresso.base;

import android.content.Context;
import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.Preconditions;
import dagger.internal.QualifierMetadata;
import dagger.internal.ScopeMetadata;
import javax.inject.Provider;

@ScopeMetadata
@QualifierMetadata("androidx.test.espresso.internal.inject.TargetContext")
@DaggerGenerated
@SuppressWarnings({
    "unchecked",
    "rawtypes",
    "KotlinInternal",
    "KotlinInternalInJava"
})
public final class BaseLayerModule_ProvideDefaultFailureHanderFactory implements Factory<DefaultFailureHandler> {
  private final BaseLayerModule module;

  private final Provider<Context> contextProvider;

  public BaseLayerModule_ProvideDefaultFailureHanderFactory(BaseLayerModule module,
      Provider<Context> contextProvider) {
    this.module = module;
    this.contextProvider = contextProvider;
  }

  @Override
  public DefaultFailureHandler get() {
    return provideDefaultFailureHander(module, contextProvider.get());
  }

  public static BaseLayerModule_ProvideDefaultFailureHanderFactory create(BaseLayerModule module,
      Provider<Context> contextProvider) {
    return new BaseLayerModule_ProvideDefaultFailureHanderFactory(module, contextProvider);
  }

  public static DefaultFailureHandler provideDefaultFailureHander(BaseLayerModule instance,
      Context context) {
    return Preconditions.checkNotNullFromProvides(instance.provideDefaultFailureHander(context));
  }
}