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.
package dagger.internal.codegen.writing;
import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
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 OptionalFactories_Factory implements Factory {
private final Provider perGeneratedFileCacheProvider;
private final Provider componentImplementationProvider;
public OptionalFactories_Factory(
Provider perGeneratedFileCacheProvider,
Provider componentImplementationProvider) {
this.perGeneratedFileCacheProvider = perGeneratedFileCacheProvider;
this.componentImplementationProvider = componentImplementationProvider;
}
@Override
public OptionalFactories get() {
return newInstance(perGeneratedFileCacheProvider.get(), componentImplementationProvider.get());
}
public static OptionalFactories_Factory create(
Provider perGeneratedFileCacheProvider,
Provider componentImplementationProvider) {
return new OptionalFactories_Factory(perGeneratedFileCacheProvider, componentImplementationProvider);
}
public static OptionalFactories newInstance(Object perGeneratedFileCache,
ComponentImplementation componentImplementation) {
return new OptionalFactories((OptionalFactories.PerGeneratedFileCache) perGeneratedFileCache, componentImplementation);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy