dagger.internal.codegen.writing.SwitchingProviderInstanceSupplier_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.
The newest version!
// 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.ContributionBinding;
import javax.inject.Provider;
@ScopeMetadata
@QualifierMetadata
@DaggerGenerated
@SuppressWarnings({
"unchecked",
"rawtypes",
"KotlinInternal",
"KotlinInternalInJava"
})
public final class SwitchingProviderInstanceSupplier_Factory {
private final Provider graphProvider;
private final Provider componentImplementationProvider;
private final Provider unscopedDirectInstanceRequestRepresentationFactoryProvider;
public SwitchingProviderInstanceSupplier_Factory(Provider graphProvider,
Provider componentImplementationProvider,
Provider unscopedDirectInstanceRequestRepresentationFactoryProvider) {
this.graphProvider = graphProvider;
this.componentImplementationProvider = componentImplementationProvider;
this.unscopedDirectInstanceRequestRepresentationFactoryProvider = unscopedDirectInstanceRequestRepresentationFactoryProvider;
}
public SwitchingProviderInstanceSupplier get(ContributionBinding binding) {
return newInstance(binding, graphProvider.get(), componentImplementationProvider.get(), unscopedDirectInstanceRequestRepresentationFactoryProvider.get());
}
public static SwitchingProviderInstanceSupplier_Factory create(
Provider graphProvider,
Provider componentImplementationProvider,
Provider unscopedDirectInstanceRequestRepresentationFactoryProvider) {
return new SwitchingProviderInstanceSupplier_Factory(graphProvider, componentImplementationProvider, unscopedDirectInstanceRequestRepresentationFactoryProvider);
}
public static SwitchingProviderInstanceSupplier newInstance(ContributionBinding binding,
BindingGraph graph, ComponentImplementation componentImplementation,
Object unscopedDirectInstanceRequestRepresentationFactory) {
return new SwitchingProviderInstanceSupplier(binding, graph, componentImplementation, (UnscopedDirectInstanceRequestRepresentationFactory) unscopedDirectInstanceRequestRepresentationFactory);
}
}