dagger.internal.codegen.validation.InjectValidator_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.validation;
import androidx.room.compiler.processing.XProcessingEnv;
import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.codegen.binding.InjectionAnnotations;
import dagger.internal.codegen.compileroption.CompilerOptions;
import dagger.internal.codegen.kotlin.KotlinMetadataUtil;
import dagger.internal.codegen.langmodel.DaggerElements;
import dagger.internal.codegen.langmodel.DaggerTypes;
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 InjectValidator_Factory implements Factory {
private final Provider processingEnvProvider;
private final Provider typesProvider;
private final Provider elementsProvider;
private final Provider superficialInjectValidatorProvider;
private final Provider dependencyRequestValidatorProvider;
private final Provider compilerOptionsProvider;
private final Provider injectionAnnotationsProvider;
private final Provider metadataUtilProvider;
public InjectValidator_Factory(Provider processingEnvProvider,
Provider typesProvider, Provider elementsProvider,
Provider superficialInjectValidatorProvider,
Provider dependencyRequestValidatorProvider,
Provider compilerOptionsProvider,
Provider injectionAnnotationsProvider,
Provider metadataUtilProvider) {
this.processingEnvProvider = processingEnvProvider;
this.typesProvider = typesProvider;
this.elementsProvider = elementsProvider;
this.superficialInjectValidatorProvider = superficialInjectValidatorProvider;
this.dependencyRequestValidatorProvider = dependencyRequestValidatorProvider;
this.compilerOptionsProvider = compilerOptionsProvider;
this.injectionAnnotationsProvider = injectionAnnotationsProvider;
this.metadataUtilProvider = metadataUtilProvider;
}
@Override
public InjectValidator get() {
return newInstance(processingEnvProvider.get(), typesProvider.get(), elementsProvider.get(), superficialInjectValidatorProvider.get(), dependencyRequestValidatorProvider.get(), compilerOptionsProvider.get(), injectionAnnotationsProvider.get(), metadataUtilProvider.get());
}
public static InjectValidator_Factory create(Provider processingEnvProvider,
Provider typesProvider, Provider elementsProvider,
Provider superficialInjectValidatorProvider,
Provider dependencyRequestValidatorProvider,
Provider compilerOptionsProvider,
Provider injectionAnnotationsProvider,
Provider metadataUtilProvider) {
return new InjectValidator_Factory(processingEnvProvider, typesProvider, elementsProvider, superficialInjectValidatorProvider, dependencyRequestValidatorProvider, compilerOptionsProvider, injectionAnnotationsProvider, metadataUtilProvider);
}
public static InjectValidator newInstance(XProcessingEnv processingEnv, DaggerTypes types,
DaggerElements elements, SuperficialInjectValidator superficialInjectValidator,
Object dependencyRequestValidator, CompilerOptions compilerOptions,
InjectionAnnotations injectionAnnotations, KotlinMetadataUtil metadataUtil) {
return new InjectValidator(processingEnv, types, elements, superficialInjectValidator, (DependencyRequestValidator) dependencyRequestValidator, compilerOptions, injectionAnnotations, metadataUtil);
}
}