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

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

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

import com.squareup.javapoet.ClassName;
import dagger.internal.DaggerGenerated;
import dagger.internal.InstanceFactory;
import javax.inject.Provider;

@DaggerGenerated
@SuppressWarnings({
    "unchecked",
    "rawtypes",
    "KotlinInternal",
    "KotlinInternalInJava"
})
public final class ProducerFromProviderCreationExpression_Factory_Impl implements ProducerFromProviderCreationExpression.Factory {
  private final ProducerFromProviderCreationExpression_Factory delegateFactory;

  ProducerFromProviderCreationExpression_Factory_Impl(
      ProducerFromProviderCreationExpression_Factory delegateFactory) {
    this.delegateFactory = delegateFactory;
  }

  @Override
  public ProducerFromProviderCreationExpression create(
      RequestRepresentation providerRequestRepresentation, ClassName requestingClass) {
    return delegateFactory.get(providerRequestRepresentation, requestingClass);
  }

  public static Provider create(
      ProducerFromProviderCreationExpression_Factory delegateFactory) {
    return InstanceFactory.create(new ProducerFromProviderCreationExpression_Factory_Impl(delegateFactory));
  }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy