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.
// 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 javax.inject.Provider;
@DaggerGenerated
@SuppressWarnings({
"unchecked",
"rawtypes"
})
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(ProvisionBinding 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(ProvisionBinding binding,
BindingGraph graph, ComponentImplementation componentImplementation,
Object unscopedDirectInstanceRequestRepresentationFactory) {
return new SwitchingProviderInstanceSupplier(binding, graph, componentImplementation, (UnscopedDirectInstanceRequestRepresentationFactory) unscopedDirectInstanceRequestRepresentationFactory);
}
}