dagger.internal.codegen.validation.ModuleValidator_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.BindingGraphFactory;
import dagger.internal.codegen.binding.ComponentDescriptorFactory;
import dagger.internal.codegen.binding.MethodSignatureFormatter;
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 ModuleValidator_Factory implements Factory {
private final Provider anyBindingMethodValidatorProvider;
private final Provider methodSignatureFormatterProvider;
private final Provider componentDescriptorFactoryProvider;
private final Provider bindingGraphFactoryProvider;
private final Provider bindingGraphValidatorProvider;
private final Provider processingEnvProvider;
public ModuleValidator_Factory(
Provider anyBindingMethodValidatorProvider,
Provider methodSignatureFormatterProvider,
Provider componentDescriptorFactoryProvider,
Provider bindingGraphFactoryProvider,
Provider bindingGraphValidatorProvider,
Provider processingEnvProvider) {
this.anyBindingMethodValidatorProvider = anyBindingMethodValidatorProvider;
this.methodSignatureFormatterProvider = methodSignatureFormatterProvider;
this.componentDescriptorFactoryProvider = componentDescriptorFactoryProvider;
this.bindingGraphFactoryProvider = bindingGraphFactoryProvider;
this.bindingGraphValidatorProvider = bindingGraphValidatorProvider;
this.processingEnvProvider = processingEnvProvider;
}
@Override
public ModuleValidator get() {
return newInstance(anyBindingMethodValidatorProvider.get(), methodSignatureFormatterProvider.get(), componentDescriptorFactoryProvider.get(), bindingGraphFactoryProvider.get(), bindingGraphValidatorProvider.get(), processingEnvProvider.get());
}
public static ModuleValidator_Factory create(
Provider anyBindingMethodValidatorProvider,
Provider methodSignatureFormatterProvider,
Provider componentDescriptorFactoryProvider,
Provider bindingGraphFactoryProvider,
Provider bindingGraphValidatorProvider,
Provider processingEnvProvider) {
return new ModuleValidator_Factory(anyBindingMethodValidatorProvider, methodSignatureFormatterProvider, componentDescriptorFactoryProvider, bindingGraphFactoryProvider, bindingGraphValidatorProvider, processingEnvProvider);
}
public static ModuleValidator newInstance(AnyBindingMethodValidator anyBindingMethodValidator,
MethodSignatureFormatter methodSignatureFormatter,
ComponentDescriptorFactory componentDescriptorFactory,
BindingGraphFactory bindingGraphFactory, BindingGraphValidator bindingGraphValidator,
XProcessingEnv processingEnv) {
return new ModuleValidator(anyBindingMethodValidator, methodSignatureFormatter, componentDescriptorFactory, bindingGraphFactory, bindingGraphValidator, processingEnv);
}
}