dagger.internal.codegen.AssistedProcessingStep_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 androidx.room.compiler.processing.XMessager;
import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.codegen.binding.InjectionAnnotations;
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 AssistedProcessingStep_Factory implements Factory {
private final Provider injectionAnnotationsProvider;
private final Provider messagerProvider;
private final Provider superficialValidatorProvider;
public AssistedProcessingStep_Factory(Provider injectionAnnotationsProvider,
Provider messagerProvider,
Provider superficialValidatorProvider) {
this.injectionAnnotationsProvider = injectionAnnotationsProvider;
this.messagerProvider = messagerProvider;
this.superficialValidatorProvider = superficialValidatorProvider;
}
@Override
public AssistedProcessingStep get() {
AssistedProcessingStep instance = newInstance(injectionAnnotationsProvider.get(), messagerProvider.get());
TypeCheckingProcessingStep_MembersInjector.injectSuperficialValidator(instance, superficialValidatorProvider.get());
return instance;
}
public static AssistedProcessingStep_Factory create(
Provider injectionAnnotationsProvider,
Provider messagerProvider,
Provider superficialValidatorProvider) {
return new AssistedProcessingStep_Factory(injectionAnnotationsProvider, messagerProvider, superficialValidatorProvider);
}
public static AssistedProcessingStep newInstance(InjectionAnnotations injectionAnnotations,
XMessager messager) {
return new AssistedProcessingStep(injectionAnnotations, messager);
}
}