dagger.internal.codegen.writing.OptionalFactories_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.
The newest version!
// Generated by Dagger (https://dagger.dev).
package dagger.internal.codegen.writing;
import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.QualifierMetadata;
import dagger.internal.ScopeMetadata;
import javax.inject.Provider;
@ScopeMetadata
@QualifierMetadata("dagger.internal.codegen.writing.TopLevel")
@DaggerGenerated
@SuppressWarnings({
"unchecked",
"rawtypes",
"KotlinInternal",
"KotlinInternalInJava"
})
public final class OptionalFactories_Factory implements Factory {
private final Provider perGeneratedFileCacheProvider;
private final Provider topLevelImplementationProvider;
public OptionalFactories_Factory(
Provider perGeneratedFileCacheProvider,
Provider topLevelImplementationProvider) {
this.perGeneratedFileCacheProvider = perGeneratedFileCacheProvider;
this.topLevelImplementationProvider = topLevelImplementationProvider;
}
@Override
public OptionalFactories get() {
return newInstance(perGeneratedFileCacheProvider.get(), topLevelImplementationProvider.get());
}
public static OptionalFactories_Factory create(
Provider perGeneratedFileCacheProvider,
Provider topLevelImplementationProvider) {
return new OptionalFactories_Factory(perGeneratedFileCacheProvider, topLevelImplementationProvider);
}
public static OptionalFactories newInstance(Object perGeneratedFileCache,
GeneratedImplementation topLevelImplementation) {
return new OptionalFactories((OptionalFactories.PerGeneratedFileCache) perGeneratedFileCache, topLevelImplementation);
}
}