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.
package dagger.internal.codegen.validation;
import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.codegen.compileroption.CompilerOptions;
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 ComponentHierarchyValidator_Factory implements Factory {
private final Provider compilerOptionsProvider;
public ComponentHierarchyValidator_Factory(Provider compilerOptionsProvider) {
this.compilerOptionsProvider = compilerOptionsProvider;
}
@Override
public ComponentHierarchyValidator get() {
return newInstance(compilerOptionsProvider.get());
}
public static ComponentHierarchyValidator_Factory create(
Provider compilerOptionsProvider) {
return new ComponentHierarchyValidator_Factory(compilerOptionsProvider);
}
public static ComponentHierarchyValidator newInstance(CompilerOptions compilerOptions) {
return new ComponentHierarchyValidator(compilerOptions);
}
}