dagger.internal.codegen.InjectProcessingStep_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.
package dagger.internal.codegen;
import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.codegen.binding.InjectBindingRegistry;
import dagger.internal.codegen.validation.SuperficialValidator;
import dagger.internal.codegen.validation.TypeCheckingProcessingStep_MembersInjector;
import javax.annotation.Generated;
import javax.inject.Provider;
@DaggerGenerated
@Generated(
value = "dagger.internal.codegen.ComponentProcessor",
comments = "https://dagger.dev"
)
@SuppressWarnings({
"unchecked",
"rawtypes"
})
public final class InjectProcessingStep_Factory implements Factory {
private final Provider injectBindingRegistryProvider;
private final Provider superficialValidatorProvider;
public InjectProcessingStep_Factory(Provider injectBindingRegistryProvider,
Provider superficialValidatorProvider) {
this.injectBindingRegistryProvider = injectBindingRegistryProvider;
this.superficialValidatorProvider = superficialValidatorProvider;
}
@Override
public InjectProcessingStep get() {
InjectProcessingStep instance = newInstance(injectBindingRegistryProvider.get());
TypeCheckingProcessingStep_MembersInjector.injectSuperficialValidator(instance, superficialValidatorProvider.get());
return instance;
}
public static InjectProcessingStep_Factory create(
Provider injectBindingRegistryProvider,
Provider superficialValidatorProvider) {
return new InjectProcessingStep_Factory(injectBindingRegistryProvider, superficialValidatorProvider);
}
public static InjectProcessingStep newInstance(InjectBindingRegistry injectBindingRegistry) {
return new InjectProcessingStep(injectBindingRegistry);
}
}