dagger.internal.codegen.writing.ProvisionBindingRepresentation_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.BindingGraph;
import dagger.internal.codegen.binding.ProvisionBinding;
import javax.inject.Provider;
@ScopeMetadata
@QualifierMetadata
@DaggerGenerated
@SuppressWarnings({
"unchecked",
"rawtypes",
"KotlinInternal",
"KotlinInternalInJava"
})
public final class ProvisionBindingRepresentation_Factory {
private final Provider directInstanceBindingRepresentationFactoryProvider;
private final Provider frameworkInstanceBindingRepresentationFactoryProvider;
private final Provider graphProvider;
private final Provider componentImplementationProvider;
public ProvisionBindingRepresentation_Factory(
Provider directInstanceBindingRepresentationFactoryProvider,
Provider frameworkInstanceBindingRepresentationFactoryProvider,
Provider graphProvider,
Provider componentImplementationProvider) {
this.directInstanceBindingRepresentationFactoryProvider = directInstanceBindingRepresentationFactoryProvider;
this.frameworkInstanceBindingRepresentationFactoryProvider = frameworkInstanceBindingRepresentationFactoryProvider;
this.graphProvider = graphProvider;
this.componentImplementationProvider = componentImplementationProvider;
}
public ProvisionBindingRepresentation get(ProvisionBinding binding) {
return newInstance(binding, directInstanceBindingRepresentationFactoryProvider.get(), frameworkInstanceBindingRepresentationFactoryProvider.get(), graphProvider.get(), componentImplementationProvider.get());
}
public static ProvisionBindingRepresentation_Factory create(
Provider directInstanceBindingRepresentationFactoryProvider,
Provider frameworkInstanceBindingRepresentationFactoryProvider,
Provider graphProvider,
Provider componentImplementationProvider) {
return new ProvisionBindingRepresentation_Factory(directInstanceBindingRepresentationFactoryProvider, frameworkInstanceBindingRepresentationFactoryProvider, graphProvider, componentImplementationProvider);
}
public static ProvisionBindingRepresentation newInstance(ProvisionBinding binding,
Object directInstanceBindingRepresentationFactory,
Object frameworkInstanceBindingRepresentationFactory, BindingGraph graph,
ComponentImplementation componentImplementation) {
return new ProvisionBindingRepresentation(binding, (DirectInstanceBindingRepresentation.Factory) directInstanceBindingRepresentationFactory, (FrameworkInstanceBindingRepresentation.Factory) frameworkInstanceBindingRepresentationFactory, graph, componentImplementation);
}
}