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.codegen.binding.BindingGraph;
import dagger.internal.codegen.binding.ProvisionBinding;
import dagger.internal.codegen.compileroption.CompilerOptions;
import javax.inject.Provider;
@DaggerGenerated
@SuppressWarnings({
"unchecked",
"rawtypes"
})
public final class ProvisionBindingRepresentation_Factory {
private final Provider graphProvider;
private final Provider componentImplementationProvider;
private final Provider directInstanceBindingRepresentationFactoryProvider;
private final Provider frameworkInstanceBindingRepresentationFactoryProvider;
private final Provider switchingProviderInstanceSupplierFactoryProvider;
private final Provider providerInstanceSupplierFactoryProvider;
private final Provider staticFactoryInstanceSupplierFactoryProvider;
private final Provider compilerOptionsProvider;
public ProvisionBindingRepresentation_Factory(Provider graphProvider,
Provider componentImplementationProvider,
Provider directInstanceBindingRepresentationFactoryProvider,
Provider frameworkInstanceBindingRepresentationFactoryProvider,
Provider switchingProviderInstanceSupplierFactoryProvider,
Provider providerInstanceSupplierFactoryProvider,
Provider staticFactoryInstanceSupplierFactoryProvider,
Provider compilerOptionsProvider) {
this.graphProvider = graphProvider;
this.componentImplementationProvider = componentImplementationProvider;
this.directInstanceBindingRepresentationFactoryProvider = directInstanceBindingRepresentationFactoryProvider;
this.frameworkInstanceBindingRepresentationFactoryProvider = frameworkInstanceBindingRepresentationFactoryProvider;
this.switchingProviderInstanceSupplierFactoryProvider = switchingProviderInstanceSupplierFactoryProvider;
this.providerInstanceSupplierFactoryProvider = providerInstanceSupplierFactoryProvider;
this.staticFactoryInstanceSupplierFactoryProvider = staticFactoryInstanceSupplierFactoryProvider;
this.compilerOptionsProvider = compilerOptionsProvider;
}
public ProvisionBindingRepresentation get(ProvisionBinding binding) {
return newInstance(binding, graphProvider.get(), componentImplementationProvider.get(), directInstanceBindingRepresentationFactoryProvider.get(), frameworkInstanceBindingRepresentationFactoryProvider.get(), switchingProviderInstanceSupplierFactoryProvider.get(), providerInstanceSupplierFactoryProvider.get(), staticFactoryInstanceSupplierFactoryProvider.get(), compilerOptionsProvider.get());
}
public static ProvisionBindingRepresentation_Factory create(Provider graphProvider,
Provider componentImplementationProvider,
Provider directInstanceBindingRepresentationFactoryProvider,
Provider frameworkInstanceBindingRepresentationFactoryProvider,
Provider switchingProviderInstanceSupplierFactoryProvider,
Provider providerInstanceSupplierFactoryProvider,
Provider staticFactoryInstanceSupplierFactoryProvider,
Provider compilerOptionsProvider) {
return new ProvisionBindingRepresentation_Factory(graphProvider, componentImplementationProvider, directInstanceBindingRepresentationFactoryProvider, frameworkInstanceBindingRepresentationFactoryProvider, switchingProviderInstanceSupplierFactoryProvider, providerInstanceSupplierFactoryProvider, staticFactoryInstanceSupplierFactoryProvider, compilerOptionsProvider);
}
public static ProvisionBindingRepresentation newInstance(ProvisionBinding binding,
BindingGraph graph, ComponentImplementation componentImplementation,
Object directInstanceBindingRepresentationFactory,
Object frameworkInstanceBindingRepresentationFactory,
Object switchingProviderInstanceSupplierFactory, Object providerInstanceSupplierFactory,
Object staticFactoryInstanceSupplierFactory, CompilerOptions compilerOptions) {
return new ProvisionBindingRepresentation(binding, graph, componentImplementation, (DirectInstanceBindingRepresentation.Factory) directInstanceBindingRepresentationFactory, (FrameworkInstanceBindingRepresentation.Factory) frameworkInstanceBindingRepresentationFactory, (SwitchingProviderInstanceSupplier.Factory) switchingProviderInstanceSupplierFactory, (ProviderInstanceSupplier.Factory) providerInstanceSupplierFactory, (StaticFactoryInstanceSupplier.Factory) staticFactoryInstanceSupplierFactory, compilerOptions);
}
}