dagger.internal.codegen.bindinggraphvalidation.DuplicateBindingsValidator_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.
The newest version!
// 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);
}
}