dagger.internal.codegen.writing.ComponentImplementation_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.writing;
import androidx.room.compiler.processing.XMessager;
import androidx.room.compiler.processing.XProcessingEnv;
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.compileroption.CompilerOptions;
import java.util.Optional;
import javax.inject.Provider;
@ScopeMetadata("dagger.internal.codegen.writing.PerComponentImplementation")
@QualifierMetadata({
"dagger.internal.codegen.writing.ParentComponent",
"dagger.internal.codegen.writing.TopLevel"
})
@DaggerGenerated
@SuppressWarnings({
"unchecked",
"rawtypes",
"KotlinInternal",
"KotlinInternalInJava"
})
public final class ComponentImplementation_Factory implements Factory {
private final Provider> parentProvider;
private final Provider childComponentImplementationFactoryProvider;
private final Provider topLevelImplementationProvider;
private final Provider componentRequestRepresentationsProvider;
private final Provider componentCreatorImplementationFactoryProvider;
private final Provider graphProvider;
private final Provider componentNamesProvider;
private final Provider compilerOptionsProvider;
private final Provider messagerProvider;
private final Provider processingEnvProvider;
public ComponentImplementation_Factory(Provider> parentProvider,
Provider childComponentImplementationFactoryProvider,
Provider topLevelImplementationProvider,
Provider componentRequestRepresentationsProvider,
Provider componentCreatorImplementationFactoryProvider,
Provider graphProvider, Provider componentNamesProvider,
Provider compilerOptionsProvider, Provider messagerProvider,
Provider processingEnvProvider) {
this.parentProvider = parentProvider;
this.childComponentImplementationFactoryProvider = childComponentImplementationFactoryProvider;
this.topLevelImplementationProvider = topLevelImplementationProvider;
this.componentRequestRepresentationsProvider = componentRequestRepresentationsProvider;
this.componentCreatorImplementationFactoryProvider = componentCreatorImplementationFactoryProvider;
this.graphProvider = graphProvider;
this.componentNamesProvider = componentNamesProvider;
this.compilerOptionsProvider = compilerOptionsProvider;
this.messagerProvider = messagerProvider;
this.processingEnvProvider = processingEnvProvider;
}
@Override
public ComponentImplementation get() {
return newInstance(parentProvider.get(), childComponentImplementationFactoryProvider.get(), topLevelImplementationProvider, componentRequestRepresentationsProvider, componentCreatorImplementationFactoryProvider, graphProvider.get(), componentNamesProvider.get(), compilerOptionsProvider.get(), messagerProvider.get(), processingEnvProvider.get());
}
public static ComponentImplementation_Factory create(
Provider> parentProvider,
Provider childComponentImplementationFactoryProvider,
Provider topLevelImplementationProvider,
Provider componentRequestRepresentationsProvider,
Provider componentCreatorImplementationFactoryProvider,
Provider graphProvider, Provider componentNamesProvider,
Provider compilerOptionsProvider, Provider messagerProvider,
Provider processingEnvProvider) {
return new ComponentImplementation_Factory(parentProvider, childComponentImplementationFactoryProvider, topLevelImplementationProvider, componentRequestRepresentationsProvider, componentCreatorImplementationFactoryProvider, graphProvider, componentNamesProvider, compilerOptionsProvider, messagerProvider, processingEnvProvider);
}
public static ComponentImplementation newInstance(Optional parent,
ComponentImplementation.ChildComponentImplementationFactory childComponentImplementationFactory,
Provider topLevelImplementationProvider,
Provider componentRequestRepresentationsProvider,
Provider componentCreatorImplementationFactoryProvider,
BindingGraph graph, ComponentNames componentNames, CompilerOptions compilerOptions,
XMessager messager, XProcessingEnv processingEnv) {
return new ComponentImplementation(parent, childComponentImplementationFactory, topLevelImplementationProvider, componentRequestRepresentationsProvider, componentCreatorImplementationFactoryProvider, graph, componentNames, compilerOptions, messager, processingEnv);
}
}