dagger.internal.codegen.componentgenerator.ComponentGenerator_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.
// Generated by Dagger (https://dagger.dev).
package dagger.internal.codegen.componentgenerator;
import androidx.room.compiler.processing.XFiler;
import androidx.room.compiler.processing.XProcessingEnv;
import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.QualifierMetadata;
import dagger.internal.ScopeMetadata;
import javax.inject.Provider;
@ScopeMetadata
@QualifierMetadata
@DaggerGenerated
@SuppressWarnings({
"unchecked",
"rawtypes",
"KotlinInternal",
"KotlinInternalInJava"
})
public final class ComponentGenerator_Factory implements Factory {
private final Provider filerProvider;
private final Provider processingEnvProvider;
private final Provider topLevelImplementationComponentFactoryProvider;
public ComponentGenerator_Factory(Provider filerProvider,
Provider processingEnvProvider,
Provider topLevelImplementationComponentFactoryProvider) {
this.filerProvider = filerProvider;
this.processingEnvProvider = processingEnvProvider;
this.topLevelImplementationComponentFactoryProvider = topLevelImplementationComponentFactoryProvider;
}
@Override
public ComponentGenerator get() {
return newInstance(filerProvider.get(), processingEnvProvider.get(), topLevelImplementationComponentFactoryProvider.get());
}
public static ComponentGenerator_Factory create(Provider filerProvider,
Provider processingEnvProvider,
Provider topLevelImplementationComponentFactoryProvider) {
return new ComponentGenerator_Factory(filerProvider, processingEnvProvider, topLevelImplementationComponentFactoryProvider);
}
public static ComponentGenerator newInstance(XFiler filer, XProcessingEnv processingEnv,
TopLevelImplementationComponent.Factory topLevelImplementationComponentFactory) {
return new ComponentGenerator(filer, processingEnv, topLevelImplementationComponentFactory);
}
}