dagger.internal.codegen.componentgenerator.ComponentGeneratorModule_ComponentHjarGeneratorFactory 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.componentgenerator;
import androidx.room.compiler.processing.XProcessingEnv;
import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.Preconditions;
import dagger.internal.QualifierMetadata;
import dagger.internal.ScopeMetadata;
import dagger.internal.codegen.base.SourceFileGenerator;
import dagger.internal.codegen.binding.ComponentDescriptor;
import javax.inject.Provider;
@ScopeMetadata
@QualifierMetadata
@DaggerGenerated
@SuppressWarnings({
"unchecked",
"rawtypes",
"KotlinInternal",
"KotlinInternalInJava"
})
public final class ComponentGeneratorModule_ComponentHjarGeneratorFactory implements Factory> {
private final Provider processingEnvProvider;
private final Provider hjarGeneratorProvider;
public ComponentGeneratorModule_ComponentHjarGeneratorFactory(
Provider processingEnvProvider,
Provider hjarGeneratorProvider) {
this.processingEnvProvider = processingEnvProvider;
this.hjarGeneratorProvider = hjarGeneratorProvider;
}
@Override
public SourceFileGenerator get() {
return componentHjarGenerator(processingEnvProvider.get(), hjarGeneratorProvider.get());
}
public static ComponentGeneratorModule_ComponentHjarGeneratorFactory create(
Provider processingEnvProvider,
Provider hjarGeneratorProvider) {
return new ComponentGeneratorModule_ComponentHjarGeneratorFactory(processingEnvProvider, hjarGeneratorProvider);
}
public static SourceFileGenerator componentHjarGenerator(
XProcessingEnv processingEnv, Object hjarGenerator) {
return Preconditions.checkNotNullFromProvides(ComponentGeneratorModule.componentHjarGenerator(processingEnv, (ComponentHjarGenerator) hjarGenerator));
}
}