All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dagger.internal.codegen.writing.DelegateRequestRepresentation_Factory_Impl Maven / Gradle / Ivy

The newest version!
// Generated by Dagger (https://dagger.dev).
package dagger.internal.codegen.writing;

import dagger.internal.DaggerGenerated;
import dagger.internal.InstanceFactory;
import dagger.internal.codegen.binding.DelegateBinding;
import dagger.internal.codegen.model.RequestKind;
import javax.inject.Provider;

@DaggerGenerated
@SuppressWarnings({
    "unchecked",
    "rawtypes",
    "KotlinInternal",
    "KotlinInternalInJava"
})
public final class DelegateRequestRepresentation_Factory_Impl implements DelegateRequestRepresentation.Factory {
  private final DelegateRequestRepresentation_Factory delegateFactory;

  DelegateRequestRepresentation_Factory_Impl(
      DelegateRequestRepresentation_Factory delegateFactory) {
    this.delegateFactory = delegateFactory;
  }

  @Override
  public DelegateRequestRepresentation create(DelegateBinding binding, RequestKind requestKind) {
    return delegateFactory.get(binding, requestKind);
  }

  public static Provider create(
      DelegateRequestRepresentation_Factory delegateFactory) {
    return InstanceFactory.create(new DelegateRequestRepresentation_Factory_Impl(delegateFactory));
  }

  public static dagger.internal.Provider createFactoryProvider(
      DelegateRequestRepresentation_Factory delegateFactory) {
    return InstanceFactory.create(new DelegateRequestRepresentation_Factory_Impl(delegateFactory));
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy