public final class

BaseLayerModule_ProvideFailureHanderFactory

extends java.lang.Object

 java.lang.Object

↳androidx.test.espresso.base.BaseLayerModule_ProvideFailureHanderFactory

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

Androidx class mapping:

androidx.test.espresso.base.BaseLayerModule_ProvideFailureHanderFactory android.support.test.espresso.base.BaseLayerModule_ProvideFailureHanderFactory

Summary

Constructors
publicBaseLayerModule_ProvideFailureHanderFactory(BaseLayerModule module, <any> implProvider)

Methods
public static BaseLayerModule_ProvideFailureHanderFactorycreate(BaseLayerModule module, <any> implProvider)

public FailureHandlerget()

public static FailureHandlerprovideFailureHander(BaseLayerModule instance, DefaultFailureHandler impl)

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

Constructors

public BaseLayerModule_ProvideFailureHanderFactory(BaseLayerModule module, <any> implProvider)

Methods

public FailureHandler get()

public static BaseLayerModule_ProvideFailureHanderFactory create(BaseLayerModule module, <any> implProvider)

public static FailureHandler provideFailureHander(BaseLayerModule instance, DefaultFailureHandler impl)

Source

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

import androidx.test.espresso.FailureHandler;
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.base.Default")
@DaggerGenerated
@SuppressWarnings({
    "unchecked",
    "rawtypes",
    "KotlinInternal",
    "KotlinInternalInJava"
})
public final class BaseLayerModule_ProvideFailureHanderFactory implements Factory<FailureHandler> {
  private final BaseLayerModule module;

  private final Provider<DefaultFailureHandler> implProvider;

  public BaseLayerModule_ProvideFailureHanderFactory(BaseLayerModule module,
      Provider<DefaultFailureHandler> implProvider) {
    this.module = module;
    this.implProvider = implProvider;
  }

  @Override
  public FailureHandler get() {
    return provideFailureHander(module, implProvider.get());
  }

  public static BaseLayerModule_ProvideFailureHanderFactory create(BaseLayerModule module,
      Provider<DefaultFailureHandler> implProvider) {
    return new BaseLayerModule_ProvideFailureHanderFactory(module, implProvider);
  }

  public static FailureHandler provideFailureHander(BaseLayerModule instance,
      DefaultFailureHandler impl) {
    return Preconditions.checkNotNullFromProvides(instance.provideFailureHander(impl));
  }
}