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