dagger.internal.codegen.ComponentProcessor_MembersInjector 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;
import androidx.room.compiler.processing.XProcessingStep;
import com.google.common.collect.ImmutableList;
import dagger.MembersInjector;
import dagger.internal.DaggerGenerated;
import dagger.internal.InjectedFieldSignature;
import dagger.internal.codegen.base.ClearableCache;
import dagger.internal.codegen.base.SourceFileGenerator;
import dagger.internal.codegen.binding.InjectBindingRegistry;
import dagger.internal.codegen.binding.MembersInjectionBinding;
import dagger.internal.codegen.binding.ProvisionBinding;
import dagger.internal.codegen.validation.ExternalBindingGraphPlugins;
import dagger.internal.codegen.validation.ValidationBindingGraphPlugins;
import java.util.Set;
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 ComponentProcessor_MembersInjector implements MembersInjector {
private final Provider injectBindingRegistryProvider;
private final Provider> factoryGeneratorProvider;
private final Provider> membersInjectorGeneratorProvider;
private final Provider> processingStepsProvider;
private final Provider validationBindingGraphPluginsProvider;
private final Provider externalBindingGraphPluginsProvider;
private final Provider> clearableCachesProvider;
public ComponentProcessor_MembersInjector(
Provider injectBindingRegistryProvider,
Provider> factoryGeneratorProvider,
Provider> membersInjectorGeneratorProvider,
Provider> processingStepsProvider,
Provider validationBindingGraphPluginsProvider,
Provider externalBindingGraphPluginsProvider,
Provider> clearableCachesProvider) {
this.injectBindingRegistryProvider = injectBindingRegistryProvider;
this.factoryGeneratorProvider = factoryGeneratorProvider;
this.membersInjectorGeneratorProvider = membersInjectorGeneratorProvider;
this.processingStepsProvider = processingStepsProvider;
this.validationBindingGraphPluginsProvider = validationBindingGraphPluginsProvider;
this.externalBindingGraphPluginsProvider = externalBindingGraphPluginsProvider;
this.clearableCachesProvider = clearableCachesProvider;
}
public static MembersInjector create(
Provider injectBindingRegistryProvider,
Provider> factoryGeneratorProvider,
Provider> membersInjectorGeneratorProvider,
Provider> processingStepsProvider,
Provider validationBindingGraphPluginsProvider,
Provider externalBindingGraphPluginsProvider,
Provider> clearableCachesProvider) {
return new ComponentProcessor_MembersInjector(injectBindingRegistryProvider, factoryGeneratorProvider, membersInjectorGeneratorProvider, processingStepsProvider, validationBindingGraphPluginsProvider, externalBindingGraphPluginsProvider, clearableCachesProvider);
}
@Override
public void injectMembers(ComponentProcessor instance) {
injectInjectBindingRegistry(instance, injectBindingRegistryProvider.get());
injectFactoryGenerator(instance, factoryGeneratorProvider.get());
injectMembersInjectorGenerator(instance, membersInjectorGeneratorProvider.get());
injectProcessingSteps(instance, processingStepsProvider.get());
injectValidationBindingGraphPlugins(instance, validationBindingGraphPluginsProvider.get());
injectExternalBindingGraphPlugins(instance, externalBindingGraphPluginsProvider.get());
injectClearableCaches(instance, clearableCachesProvider.get());
}
@InjectedFieldSignature("dagger.internal.codegen.ComponentProcessor.injectBindingRegistry")
public static void injectInjectBindingRegistry(ComponentProcessor instance,
InjectBindingRegistry injectBindingRegistry) {
instance.injectBindingRegistry = injectBindingRegistry;
}
@InjectedFieldSignature("dagger.internal.codegen.ComponentProcessor.factoryGenerator")
public static void injectFactoryGenerator(ComponentProcessor instance,
SourceFileGenerator factoryGenerator) {
instance.factoryGenerator = factoryGenerator;
}
@InjectedFieldSignature("dagger.internal.codegen.ComponentProcessor.membersInjectorGenerator")
public static void injectMembersInjectorGenerator(ComponentProcessor instance,
SourceFileGenerator membersInjectorGenerator) {
instance.membersInjectorGenerator = membersInjectorGenerator;
}
@InjectedFieldSignature("dagger.internal.codegen.ComponentProcessor.processingSteps")
public static void injectProcessingSteps(ComponentProcessor instance,
ImmutableList processingSteps) {
instance.processingSteps = processingSteps;
}
@InjectedFieldSignature("dagger.internal.codegen.ComponentProcessor.validationBindingGraphPlugins")
public static void injectValidationBindingGraphPlugins(ComponentProcessor instance,
ValidationBindingGraphPlugins validationBindingGraphPlugins) {
instance.validationBindingGraphPlugins = validationBindingGraphPlugins;
}
@InjectedFieldSignature("dagger.internal.codegen.ComponentProcessor.externalBindingGraphPlugins")
public static void injectExternalBindingGraphPlugins(ComponentProcessor instance,
ExternalBindingGraphPlugins externalBindingGraphPlugins) {
instance.externalBindingGraphPlugins = externalBindingGraphPlugins;
}
@InjectedFieldSignature("dagger.internal.codegen.ComponentProcessor.clearableCaches")
public static void injectClearableCaches(ComponentProcessor instance,
Set clearableCaches) {
instance.clearableCaches = clearableCaches;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy