dagger.internal.codegen.validation.ComponentDescriptorValidator_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.validation;
import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.QualifierMetadata;
import dagger.internal.ScopeMetadata;
import dagger.internal.codegen.base.DaggerSuperficialValidation;
import dagger.internal.codegen.binding.InjectionAnnotations;
import dagger.internal.codegen.binding.MethodSignatureFormatter;
import dagger.internal.codegen.compileroption.CompilerOptions;
import javax.inject.Provider;
@ScopeMetadata
@QualifierMetadata
@DaggerGenerated
@SuppressWarnings({
"unchecked",
"rawtypes",
"KotlinInternal",
"KotlinInternalInJava"
})
public final class ComponentDescriptorValidator_Factory implements Factory {
private final Provider compilerOptionsProvider;
private final Provider methodSignatureFormatterProvider;
private final Provider componentHierarchyValidatorProvider;
private final Provider injectionAnnotationsProvider;
private final Provider superficialValidationProvider;
public ComponentDescriptorValidator_Factory(Provider compilerOptionsProvider,
Provider methodSignatureFormatterProvider,
Provider componentHierarchyValidatorProvider,
Provider injectionAnnotationsProvider,
Provider superficialValidationProvider) {
this.compilerOptionsProvider = compilerOptionsProvider;
this.methodSignatureFormatterProvider = methodSignatureFormatterProvider;
this.componentHierarchyValidatorProvider = componentHierarchyValidatorProvider;
this.injectionAnnotationsProvider = injectionAnnotationsProvider;
this.superficialValidationProvider = superficialValidationProvider;
}
@Override
public ComponentDescriptorValidator get() {
return newInstance(compilerOptionsProvider.get(), methodSignatureFormatterProvider.get(), componentHierarchyValidatorProvider.get(), injectionAnnotationsProvider.get(), superficialValidationProvider.get());
}
public static ComponentDescriptorValidator_Factory create(
Provider compilerOptionsProvider,
Provider methodSignatureFormatterProvider,
Provider componentHierarchyValidatorProvider,
Provider injectionAnnotationsProvider,
Provider superficialValidationProvider) {
return new ComponentDescriptorValidator_Factory(compilerOptionsProvider, methodSignatureFormatterProvider, componentHierarchyValidatorProvider, injectionAnnotationsProvider, superficialValidationProvider);
}
public static ComponentDescriptorValidator newInstance(CompilerOptions compilerOptions,
MethodSignatureFormatter methodSignatureFormatter, Object componentHierarchyValidator,
InjectionAnnotations injectionAnnotations,
DaggerSuperficialValidation superficialValidation) {
return new ComponentDescriptorValidator(compilerOptions, methodSignatureFormatter, (ComponentHierarchyValidator) componentHierarchyValidator, injectionAnnotations, superficialValidation);
}
}