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.
package dagger.internal.codegen.writing;
import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.codegen.binding.BindingGraph;
import dagger.internal.codegen.binding.KeyFactory;
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 ComponentNames_Factory implements Factory {
private final Provider graphProvider;
private final Provider keyFactoryProvider;
public ComponentNames_Factory(Provider graphProvider,
Provider keyFactoryProvider) {
this.graphProvider = graphProvider;
this.keyFactoryProvider = keyFactoryProvider;
}
@Override
public ComponentNames get() {
return newInstance(graphProvider.get(), keyFactoryProvider.get());
}
public static ComponentNames_Factory create(Provider graphProvider,
Provider keyFactoryProvider) {
return new ComponentNames_Factory(graphProvider, keyFactoryProvider);
}
public static ComponentNames newInstance(BindingGraph graph, KeyFactory keyFactory) {
return new ComponentNames(graph, keyFactory);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy