dagger.internal.codegen.bindinggraphvalidation.DuplicateBindingsValidator_Factory Maven / Gradle / Ivy
// Generated by Dagger (https://dagger.dev).
package dagger.internal.codegen.bindinggraphvalidation;
import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.QualifierMetadata;
import dagger.internal.ScopeMetadata;
import dagger.internal.codegen.binding.BindingDeclarationFormatter;
import dagger.internal.codegen.compileroption.CompilerOptions;
import javax.inject.Provider;
@ScopeMetadata
@QualifierMetadata
@DaggerGenerated
@SuppressWarnings({
"unchecked",
"rawtypes",
"KotlinInternal",
"KotlinInternalInJava"
})
public final class DuplicateBindingsValidator_Factory implements Factory {
private final Provider bindingDeclarationFormatterProvider;
private final Provider compilerOptionsProvider;
public DuplicateBindingsValidator_Factory(
Provider bindingDeclarationFormatterProvider,
Provider compilerOptionsProvider) {
this.bindingDeclarationFormatterProvider = bindingDeclarationFormatterProvider;
this.compilerOptionsProvider = compilerOptionsProvider;
}
@Override
public DuplicateBindingsValidator get() {
return newInstance(bindingDeclarationFormatterProvider.get(), compilerOptionsProvider.get());
}
public static DuplicateBindingsValidator_Factory create(
Provider bindingDeclarationFormatterProvider,
Provider compilerOptionsProvider) {
return new DuplicateBindingsValidator_Factory(bindingDeclarationFormatterProvider, compilerOptionsProvider);
}
public static DuplicateBindingsValidator newInstance(
BindingDeclarationFormatter bindingDeclarationFormatter, CompilerOptions compilerOptions) {
return new DuplicateBindingsValidator(bindingDeclarationFormatter, compilerOptions);
}
}