public final class

DeviceControllerModule_ProvideDeviceControllerFactory

extends java.lang.Object

 java.lang.Object

↳androidx.test.espresso.device.dagger.DeviceControllerModule_ProvideDeviceControllerFactory

Gradle dependencies

compile group: 'androidx.test.espresso', name: 'espresso-device', version: '1.0.1'

  • groupId: androidx.test.espresso
  • artifactId: espresso-device
  • version: 1.0.1

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

Summary

Constructors
publicDeviceControllerModule_ProvideDeviceControllerFactory(DeviceControllerModule module)

Methods
public static DeviceControllerModule_ProvideDeviceControllerFactorycreate(DeviceControllerModule module)

public DeviceControllerget()

public static DeviceControllerprovideDeviceController(DeviceControllerModule instance)

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

Constructors

public DeviceControllerModule_ProvideDeviceControllerFactory(DeviceControllerModule module)

Methods

public DeviceController get()

public static DeviceControllerModule_ProvideDeviceControllerFactory create(DeviceControllerModule module)

public static DeviceController provideDeviceController(DeviceControllerModule instance)

Source

package androidx.test.espresso.device.dagger;

import androidx.test.platform.device.DeviceController;
import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.Preconditions;
import dagger.internal.QualifierMetadata;
import dagger.internal.ScopeMetadata;
import javax.annotation.Generated;

@ScopeMetadata("javax.inject.Singleton")
@QualifierMetadata
@DaggerGenerated
@Generated(
    value = "dagger.internal.codegen.ComponentProcessor",
    comments = "https://dagger.dev"
)
@SuppressWarnings({
    "unchecked",
    "rawtypes",
    "KotlinInternal",
    "KotlinInternalInJava"
})
public final class DeviceControllerModule_ProvideDeviceControllerFactory implements Factory<DeviceController> {
  private final DeviceControllerModule module;

  public DeviceControllerModule_ProvideDeviceControllerFactory(DeviceControllerModule module) {
    this.module = module;
  }

  @Override
  public DeviceController get() {
    return provideDeviceController(module);
  }

  public static DeviceControllerModule_ProvideDeviceControllerFactory create(
      DeviceControllerModule module) {
    return new DeviceControllerModule_ProvideDeviceControllerFactory(module);
  }

  public static DeviceController provideDeviceController(DeviceControllerModule instance) {
    return Preconditions.checkNotNullFromProvides(instance.provideDeviceController());
  }
}