dagger.internal.codegen.writing.ProducerFactoryGenerator_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.KeyFactory;
import dagger.internal.codegen.compileroption.CompilerOptions;
import dagger.internal.codegen.langmodel.DaggerElements;
import javax.annotation.Generated;
import javax.annotation.processing.Filer;
import javax.inject.Provider;
import javax.lang.model.SourceVersion;
@DaggerGenerated
@Generated(
value = "dagger.internal.codegen.ComponentProcessor",
comments = "https://dagger.dev"
)
@SuppressWarnings({
"unchecked",
"rawtypes"
})
public final class ProducerFactoryGenerator_Factory implements Factory {
private final Provider filerProvider;
private final Provider elementsProvider;
private final Provider sourceVersionProvider;
private final Provider compilerOptionsProvider;
private final Provider keyFactoryProvider;
public ProducerFactoryGenerator_Factory(Provider filerProvider,
Provider elementsProvider, Provider sourceVersionProvider,
Provider compilerOptionsProvider, Provider keyFactoryProvider) {
this.filerProvider = filerProvider;
this.elementsProvider = elementsProvider;
this.sourceVersionProvider = sourceVersionProvider;
this.compilerOptionsProvider = compilerOptionsProvider;
this.keyFactoryProvider = keyFactoryProvider;
}
@Override
public ProducerFactoryGenerator get() {
return newInstance(filerProvider.get(), elementsProvider.get(), sourceVersionProvider.get(), compilerOptionsProvider.get(), keyFactoryProvider.get());
}
public static ProducerFactoryGenerator_Factory create(Provider filerProvider,
Provider elementsProvider, Provider sourceVersionProvider,
Provider compilerOptionsProvider, Provider keyFactoryProvider) {
return new ProducerFactoryGenerator_Factory(filerProvider, elementsProvider, sourceVersionProvider, compilerOptionsProvider, keyFactoryProvider);
}
public static ProducerFactoryGenerator newInstance(Filer filer, DaggerElements elements,
SourceVersion sourceVersion, CompilerOptions compilerOptions, KeyFactory keyFactory) {
return new ProducerFactoryGenerator(filer, elements, sourceVersion, compilerOptions, keyFactory);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy