dagger.internal.codegen.writing.ComponentNames_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.writing;
import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.QualifierMetadata;
import dagger.internal.ScopeMetadata;
import dagger.internal.codegen.binding.BindingGraph;
import dagger.internal.codegen.binding.KeyFactory;
import dagger.internal.codegen.compileroption.CompilerOptions;
import javax.inject.Provider;
@ScopeMetadata
@QualifierMetadata("dagger.internal.codegen.writing.TopLevel")
@DaggerGenerated
@SuppressWarnings({
"unchecked",
"rawtypes",
"KotlinInternal",
"KotlinInternalInJava"
})
public final class ComponentNames_Factory implements Factory {
private final Provider compilerOptionsProvider;
private final Provider graphProvider;
private final Provider keyFactoryProvider;
public ComponentNames_Factory(Provider compilerOptionsProvider,
Provider graphProvider, Provider keyFactoryProvider) {
this.compilerOptionsProvider = compilerOptionsProvider;
this.graphProvider = graphProvider;
this.keyFactoryProvider = keyFactoryProvider;
}
@Override
public ComponentNames get() {
return newInstance(compilerOptionsProvider.get(), graphProvider.get(), keyFactoryProvider.get());
}
public static ComponentNames_Factory create(Provider compilerOptionsProvider,
Provider graphProvider, Provider keyFactoryProvider) {
return new ComponentNames_Factory(compilerOptionsProvider, graphProvider, keyFactoryProvider);
}
public static ComponentNames newInstance(CompilerOptions compilerOptions, BindingGraph graph,
KeyFactory keyFactory) {
return new ComponentNames(compilerOptions, graph, keyFactory);
}
}