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.
package dagger.internal.codegen.writing;
import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.codegen.binding.BindingGraph;
import dagger.internal.codegen.compileroption.CompilerOptions;
import dagger.internal.codegen.kotlin.KotlinMetadataUtil;
import dagger.internal.codegen.langmodel.DaggerElements;
import dagger.internal.codegen.langmodel.DaggerTypes;
import java.util.Optional;
import javax.annotation.Generated;
import javax.annotation.processing.Messager;
import javax.inject.Provider;
@DaggerGenerated
@Generated(
value = "dagger.internal.codegen.ComponentProcessor",
comments = "https://dagger.dev"
)
@SuppressWarnings({
"unchecked",
"rawtypes"
})
public final class ComponentImplementation_Factory implements Factory {
private final Provider> parentProvider;
private final Provider childComponentImplementationFactoryProvider;
private final Provider bindingExpressionsProvider;
private final Provider componentCreatorImplementationFactoryProvider;
private final Provider graphProvider;
private final Provider componentNamesProvider;
private final Provider compilerOptionsProvider;
private final Provider elementsProvider;
private final Provider typesProvider;
private final Provider metadataUtilProvider;
private final Provider messagerProvider;
public ComponentImplementation_Factory(Provider> parentProvider,
Provider childComponentImplementationFactoryProvider,
Provider bindingExpressionsProvider,
Provider componentCreatorImplementationFactoryProvider,
Provider graphProvider, Provider componentNamesProvider,
Provider compilerOptionsProvider, Provider elementsProvider,
Provider typesProvider, Provider metadataUtilProvider,
Provider messagerProvider) {
this.parentProvider = parentProvider;
this.childComponentImplementationFactoryProvider = childComponentImplementationFactoryProvider;
this.bindingExpressionsProvider = bindingExpressionsProvider;
this.componentCreatorImplementationFactoryProvider = componentCreatorImplementationFactoryProvider;
this.graphProvider = graphProvider;
this.componentNamesProvider = componentNamesProvider;
this.compilerOptionsProvider = compilerOptionsProvider;
this.elementsProvider = elementsProvider;
this.typesProvider = typesProvider;
this.metadataUtilProvider = metadataUtilProvider;
this.messagerProvider = messagerProvider;
}
@Override
public ComponentImplementation get() {
return newInstance(parentProvider.get(), childComponentImplementationFactoryProvider.get(), bindingExpressionsProvider, componentCreatorImplementationFactoryProvider, graphProvider.get(), componentNamesProvider.get(), compilerOptionsProvider.get(), elementsProvider.get(), typesProvider.get(), metadataUtilProvider.get(), messagerProvider.get());
}
public static ComponentImplementation_Factory create(
Provider> parentProvider,
Provider childComponentImplementationFactoryProvider,
Provider bindingExpressionsProvider,
Provider componentCreatorImplementationFactoryProvider,
Provider graphProvider, Provider componentNamesProvider,
Provider compilerOptionsProvider, Provider elementsProvider,
Provider typesProvider, Provider metadataUtilProvider,
Provider messagerProvider) {
return new ComponentImplementation_Factory(parentProvider, childComponentImplementationFactoryProvider, bindingExpressionsProvider, componentCreatorImplementationFactoryProvider, graphProvider, componentNamesProvider, compilerOptionsProvider, elementsProvider, typesProvider, metadataUtilProvider, messagerProvider);
}
public static ComponentImplementation newInstance(Optional parent,
ComponentImplementation.ChildComponentImplementationFactory childComponentImplementationFactory,
Provider bindingExpressionsProvider,
Provider componentCreatorImplementationFactoryProvider,
BindingGraph graph, ComponentNames componentNames, CompilerOptions compilerOptions,
DaggerElements elements, DaggerTypes types, KotlinMetadataUtil metadataUtil,
Messager messager) {
return new ComponentImplementation(parent, childComponentImplementationFactory, bindingExpressionsProvider, componentCreatorImplementationFactoryProvider, graph, componentNames, compilerOptions, elements, types, metadataUtil, messager);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy