dagger.internal.codegen.SourceFileGeneratorsModule_ProducerFactoryGeneratorFactory 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 dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.Preconditions;
import dagger.internal.codegen.base.SourceFileGenerator;
import dagger.internal.codegen.binding.ProductionBinding;
import dagger.internal.codegen.compileroption.CompilerOptions;
import dagger.internal.codegen.writing.ProducerFactoryGenerator;
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 SourceFileGeneratorsModule_ProducerFactoryGeneratorFactory implements Factory> {
private final Provider generatorProvider;
private final Provider compilerOptionsProvider;
public SourceFileGeneratorsModule_ProducerFactoryGeneratorFactory(
Provider generatorProvider,
Provider compilerOptionsProvider) {
this.generatorProvider = generatorProvider;
this.compilerOptionsProvider = compilerOptionsProvider;
}
@Override
public SourceFileGenerator get() {
return producerFactoryGenerator(generatorProvider.get(), compilerOptionsProvider.get());
}
public static SourceFileGeneratorsModule_ProducerFactoryGeneratorFactory create(
Provider generatorProvider,
Provider compilerOptionsProvider) {
return new SourceFileGeneratorsModule_ProducerFactoryGeneratorFactory(generatorProvider, compilerOptionsProvider);
}
public static SourceFileGenerator producerFactoryGenerator(
ProducerFactoryGenerator generator, CompilerOptions compilerOptions) {
return Preconditions.checkNotNullFromProvides(SourceFileGeneratorsModule.producerFactoryGenerator(generator, compilerOptions));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy