public final class

BaseLayerModule_ProvideTargetContextFactory

extends java.lang.Object

 java.lang.Object

↳androidx.test.espresso.base.BaseLayerModule_ProvideTargetContextFactory

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_ProvideTargetContextFactory android.support.test.espresso.base.BaseLayerModule_ProvideTargetContextFactory

Summary

Constructors
publicBaseLayerModule_ProvideTargetContextFactory(BaseLayerModule module)

Methods
public static BaseLayerModule_ProvideTargetContextFactorycreate(BaseLayerModule module)

public Contextget()

public static ContextprovideTargetContext(BaseLayerModule instance)

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

Constructors

public BaseLayerModule_ProvideTargetContextFactory(BaseLayerModule module)

Methods

public Context get()

public static Context provideTargetContext(BaseLayerModule instance)

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;

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

  public BaseLayerModule_ProvideTargetContextFactory(BaseLayerModule module) {
    this.module = module;
  }

  @Override
  public Context get() {
    return provideTargetContext(module);
  }

  public static BaseLayerModule_ProvideTargetContextFactory create(BaseLayerModule module) {
    return new BaseLayerModule_ProvideTargetContextFactory(module);
  }

  public static Context provideTargetContext(BaseLayerModule instance) {
    return Preconditions.checkNotNullFromProvides(instance.provideTargetContext());
  }
}