dagger.internal.codegen.writing.ProductionBindingRepresentation_Factory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dagger-compiler Show documentation
Show all versions of dagger-compiler Show documentation
A fast dependency injector for Android and Java.
// Generated by Dagger (https://dagger.dev).
package dagger.internal.codegen.writing;
import dagger.internal.DaggerGenerated;
import dagger.internal.QualifierMetadata;
import dagger.internal.ScopeMetadata;
import dagger.internal.codegen.binding.ProductionBinding;
import javax.inject.Provider;
@ScopeMetadata
@QualifierMetadata
@DaggerGenerated
@SuppressWarnings({
"unchecked",
"rawtypes",
"KotlinInternal",
"KotlinInternalInJava"
})
public final class ProductionBindingRepresentation_Factory {
private final Provider componentImplementationProvider;
private final Provider derivedFromFrameworkInstanceRequestRepresentationFactoryProvider;
private final Provider producerNodeInstanceRequestRepresentationFactoryProvider;
private final Provider unscopedFrameworkInstanceCreationExpressionFactoryProvider;
private final Provider bindingRepresentationsProvider;
public ProductionBindingRepresentation_Factory(
Provider componentImplementationProvider,
Provider derivedFromFrameworkInstanceRequestRepresentationFactoryProvider,
Provider producerNodeInstanceRequestRepresentationFactoryProvider,
Provider unscopedFrameworkInstanceCreationExpressionFactoryProvider,
Provider bindingRepresentationsProvider) {
this.componentImplementationProvider = componentImplementationProvider;
this.derivedFromFrameworkInstanceRequestRepresentationFactoryProvider = derivedFromFrameworkInstanceRequestRepresentationFactoryProvider;
this.producerNodeInstanceRequestRepresentationFactoryProvider = producerNodeInstanceRequestRepresentationFactoryProvider;
this.unscopedFrameworkInstanceCreationExpressionFactoryProvider = unscopedFrameworkInstanceCreationExpressionFactoryProvider;
this.bindingRepresentationsProvider = bindingRepresentationsProvider;
}
public ProductionBindingRepresentation get(ProductionBinding binding) {
return newInstance(binding, componentImplementationProvider.get(), derivedFromFrameworkInstanceRequestRepresentationFactoryProvider.get(), producerNodeInstanceRequestRepresentationFactoryProvider.get(), unscopedFrameworkInstanceCreationExpressionFactoryProvider.get(), bindingRepresentationsProvider.get());
}
public static ProductionBindingRepresentation_Factory create(
Provider componentImplementationProvider,
Provider derivedFromFrameworkInstanceRequestRepresentationFactoryProvider,
Provider producerNodeInstanceRequestRepresentationFactoryProvider,
Provider unscopedFrameworkInstanceCreationExpressionFactoryProvider,
Provider bindingRepresentationsProvider) {
return new ProductionBindingRepresentation_Factory(componentImplementationProvider, derivedFromFrameworkInstanceRequestRepresentationFactoryProvider, producerNodeInstanceRequestRepresentationFactoryProvider, unscopedFrameworkInstanceCreationExpressionFactoryProvider, bindingRepresentationsProvider);
}
public static ProductionBindingRepresentation newInstance(ProductionBinding binding,
ComponentImplementation componentImplementation,
Object derivedFromFrameworkInstanceRequestRepresentationFactory,
Object producerNodeInstanceRequestRepresentationFactory,
Object unscopedFrameworkInstanceCreationExpressionFactory, Object bindingRepresentations) {
return new ProductionBindingRepresentation(binding, componentImplementation, (DerivedFromFrameworkInstanceRequestRepresentation.Factory) derivedFromFrameworkInstanceRequestRepresentationFactory, (ProducerNodeInstanceRequestRepresentation.Factory) producerNodeInstanceRequestRepresentationFactory, (UnscopedFrameworkInstanceCreationExpressionFactory) unscopedFrameworkInstanceCreationExpressionFactory, (BindingRepresentations) bindingRepresentations);
}
}