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

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

There is a newer version: 2.52
Show 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.ContributionBinding;
import dagger.internal.codegen.model.RequestKind;
import javax.inject.Provider;

@DaggerGenerated
@SuppressWarnings({
    "unchecked",
    "rawtypes"
})
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(ContributionBinding binding,
      RequestKind requestKind) {
    return delegateFactory.get(binding, requestKind);
  }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy