dagger.internal.codegen.writing.ProviderInstanceSupplier_Factory_Impl 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.InstanceFactory;
import dagger.internal.codegen.binding.ContributionBinding;
import javax.inject.Provider;
@DaggerGenerated
@SuppressWarnings({
"unchecked",
"rawtypes",
"KotlinInternal",
"KotlinInternalInJava"
})
public final class ProviderInstanceSupplier_Factory_Impl implements ProviderInstanceSupplier.Factory {
private final ProviderInstanceSupplier_Factory delegateFactory;
ProviderInstanceSupplier_Factory_Impl(ProviderInstanceSupplier_Factory delegateFactory) {
this.delegateFactory = delegateFactory;
}
@Override
public ProviderInstanceSupplier create(ContributionBinding binding) {
return delegateFactory.get(binding);
}
public static Provider create(
ProviderInstanceSupplier_Factory delegateFactory) {
return InstanceFactory.create(new ProviderInstanceSupplier_Factory_Impl(delegateFactory));
}
public static dagger.internal.Provider createFactoryProvider(
ProviderInstanceSupplier_Factory delegateFactory) {
return InstanceFactory.create(new ProviderInstanceSupplier_Factory_Impl(delegateFactory));
}
}