dagger.internal.codegen.validation.ComponentHierarchyValidator_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.codegen.binding.InjectionAnnotations;
import dagger.internal.codegen.compileroption.CompilerOptions;
import javax.inject.Provider;
@DaggerGenerated
@SuppressWarnings({
"unchecked",
"rawtypes"
})
public final class ComponentHierarchyValidator_Factory implements Factory {
private final Provider compilerOptionsProvider;
private final Provider injectionAnnotationsProvider;
public ComponentHierarchyValidator_Factory(Provider compilerOptionsProvider,
Provider injectionAnnotationsProvider) {
this.compilerOptionsProvider = compilerOptionsProvider;
this.injectionAnnotationsProvider = injectionAnnotationsProvider;
}
@Override
public ComponentHierarchyValidator get() {
return newInstance(compilerOptionsProvider.get(), injectionAnnotationsProvider.get());
}
public static ComponentHierarchyValidator_Factory create(
Provider compilerOptionsProvider,
Provider injectionAnnotationsProvider) {
return new ComponentHierarchyValidator_Factory(compilerOptionsProvider, injectionAnnotationsProvider);
}
public static ComponentHierarchyValidator newInstance(CompilerOptions compilerOptions,
InjectionAnnotations injectionAnnotations) {
return new ComponentHierarchyValidator(compilerOptions, injectionAnnotations);
}
}