public final class

BaseLayerModule_ProvideFailureHandlerFactory

extends java.lang.Object

 java.lang.Object

↳androidx.test.espresso.base.BaseLayerModule_ProvideFailureHandlerFactory

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_ProvideFailureHandlerFactory android.support.test.espresso.base.BaseLayerModule_ProvideFailureHandlerFactory

Summary

Constructors
publicBaseLayerModule_ProvideFailureHandlerFactory(BaseLayerModule module, <any> holderProvider)

Methods
public static BaseLayerModule_ProvideFailureHandlerFactorycreate(BaseLayerModule module, <any> holderProvider)

public FailureHandlerget()

public static FailureHandlerprovideFailureHandler(BaseLayerModule instance, BaseLayerModule.FailureHandlerHolder holder)

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

Constructors

public BaseLayerModule_ProvideFailureHandlerFactory(BaseLayerModule module, <any> holderProvider)

Methods

public FailureHandler get()

public static BaseLayerModule_ProvideFailureHandlerFactory create(BaseLayerModule module, <any> holderProvider)

public static FailureHandler provideFailureHandler(BaseLayerModule instance, BaseLayerModule.FailureHandlerHolder holder)

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
@DaggerGenerated
@SuppressWarnings({
    "unchecked",
    "rawtypes",
    "KotlinInternal",
    "KotlinInternalInJava"
})
public final class BaseLayerModule_ProvideFailureHandlerFactory implements Factory<FailureHandler> {
  private final BaseLayerModule module;

  private final Provider<BaseLayerModule.FailureHandlerHolder> holderProvider;

  public BaseLayerModule_ProvideFailureHandlerFactory(BaseLayerModule module,
      Provider<BaseLayerModule.FailureHandlerHolder> holderProvider) {
    this.module = module;
    this.holderProvider = holderProvider;
  }

  @Override
  public FailureHandler get() {
    return provideFailureHandler(module, holderProvider.get());
  }

  public static BaseLayerModule_ProvideFailureHandlerFactory create(BaseLayerModule module,
      Provider<BaseLayerModule.FailureHandlerHolder> holderProvider) {
    return new BaseLayerModule_ProvideFailureHandlerFactory(module, holderProvider);
  }

  public static FailureHandler provideFailureHandler(BaseLayerModule instance,
      BaseLayerModule.FailureHandlerHolder holder) {
    return Preconditions.checkNotNullFromProvides(instance.provideFailureHandler(holder));
  }
}