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

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

package dagger.internal.codegen.writing;

import dagger.internal.DaggerGenerated;
import dagger.internal.codegen.binding.ContributionBinding;
import dagger.internal.codegen.langmodel.DaggerElements;
import dagger.internal.codegen.langmodel.DaggerTypes;
import javax.annotation.Generated;
import javax.inject.Provider;

@DaggerGenerated
@Generated(
    value = "dagger.internal.codegen.ComponentProcessor",
    comments = "https://dagger.dev"
)
@SuppressWarnings({
    "unchecked",
    "rawtypes"
})
public final class ProducerNodeInstanceBindingExpression_Factory {
  private final Provider typesProvider;

  private final Provider elementsProvider;

  private final Provider componentImplementationProvider;

  public ProducerNodeInstanceBindingExpression_Factory(Provider typesProvider,
      Provider elementsProvider,
      Provider componentImplementationProvider) {
    this.typesProvider = typesProvider;
    this.elementsProvider = elementsProvider;
    this.componentImplementationProvider = componentImplementationProvider;
  }

  public ProducerNodeInstanceBindingExpression get(ContributionBinding binding,
      FrameworkInstanceSupplier frameworkInstanceSupplier) {
    return newInstance(binding, frameworkInstanceSupplier, typesProvider.get(), elementsProvider.get(), componentImplementationProvider.get());
  }

  public static ProducerNodeInstanceBindingExpression_Factory create(
      Provider typesProvider, Provider elementsProvider,
      Provider componentImplementationProvider) {
    return new ProducerNodeInstanceBindingExpression_Factory(typesProvider, elementsProvider, componentImplementationProvider);
  }

  public static ProducerNodeInstanceBindingExpression newInstance(ContributionBinding binding,
      Object frameworkInstanceSupplier, DaggerTypes types, DaggerElements elements,
      ComponentImplementation componentImplementation) {
    return new ProducerNodeInstanceBindingExpression(binding, (FrameworkInstanceSupplier) frameworkInstanceSupplier, types, elements, componentImplementation);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy