dagger.internal.codegen.writing.ProviderInstanceSupplier_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.ProvisionBinding;
import javax.inject.Provider;
@ScopeMetadata
@QualifierMetadata
@DaggerGenerated
@SuppressWarnings({
"unchecked",
"rawtypes",
"KotlinInternal",
"KotlinInternalInJava"
})
public final class ProviderInstanceSupplier_Factory {
private final Provider componentImplementationProvider;
private final Provider unscopedFrameworkInstanceCreationExpressionFactoryProvider;
private final Provider bindingRepresentationsProvider;
public ProviderInstanceSupplier_Factory(
Provider componentImplementationProvider,
Provider unscopedFrameworkInstanceCreationExpressionFactoryProvider,
Provider bindingRepresentationsProvider) {
this.componentImplementationProvider = componentImplementationProvider;
this.unscopedFrameworkInstanceCreationExpressionFactoryProvider = unscopedFrameworkInstanceCreationExpressionFactoryProvider;
this.bindingRepresentationsProvider = bindingRepresentationsProvider;
}
public ProviderInstanceSupplier get(ProvisionBinding binding) {
return newInstance(binding, componentImplementationProvider.get(), unscopedFrameworkInstanceCreationExpressionFactoryProvider.get(), bindingRepresentationsProvider.get());
}
public static ProviderInstanceSupplier_Factory create(
Provider componentImplementationProvider,
Provider unscopedFrameworkInstanceCreationExpressionFactoryProvider,
Provider bindingRepresentationsProvider) {
return new ProviderInstanceSupplier_Factory(componentImplementationProvider, unscopedFrameworkInstanceCreationExpressionFactoryProvider, bindingRepresentationsProvider);
}
public static ProviderInstanceSupplier newInstance(ProvisionBinding binding,
ComponentImplementation componentImplementation,
Object unscopedFrameworkInstanceCreationExpressionFactory, Object bindingRepresentations) {
return new ProviderInstanceSupplier(binding, componentImplementation, (UnscopedFrameworkInstanceCreationExpressionFactory) unscopedFrameworkInstanceCreationExpressionFactory, (BindingRepresentations) bindingRepresentations);
}
}