dagger.internal.codegen.SourceFileGeneratorsModule_FactoryGeneratorFactory Maven / Gradle / Ivy
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.ProvisionBinding;
import dagger.internal.codegen.compileroption.CompilerOptions;
import dagger.internal.codegen.writing.FactoryGenerator;
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_FactoryGeneratorFactory implements Factory> {
private final Provider generatorProvider;
private final Provider compilerOptionsProvider;
public SourceFileGeneratorsModule_FactoryGeneratorFactory(
Provider generatorProvider,
Provider compilerOptionsProvider) {
this.generatorProvider = generatorProvider;
this.compilerOptionsProvider = compilerOptionsProvider;
}
@Override
public SourceFileGenerator get() {
return factoryGenerator(generatorProvider.get(), compilerOptionsProvider.get());
}
public static SourceFileGeneratorsModule_FactoryGeneratorFactory create(
Provider generatorProvider,
Provider compilerOptionsProvider) {
return new SourceFileGeneratorsModule_FactoryGeneratorFactory(generatorProvider, compilerOptionsProvider);
}
public static SourceFileGenerator factoryGenerator(FactoryGenerator generator,
CompilerOptions compilerOptions) {
return Preconditions.checkNotNullFromProvides(SourceFileGeneratorsModule.factoryGenerator(generator, compilerOptions));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy