dagger.internal.codegen.writing.OptionalFactoryInstanceCreationExpression_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.QualifierMetadata;
import dagger.internal.ScopeMetadata;
import dagger.internal.codegen.binding.OptionalBinding;
import javax.inject.Provider;
@ScopeMetadata
@QualifierMetadata
@DaggerGenerated
@SuppressWarnings({
"unchecked",
"rawtypes",
"KotlinInternal",
"KotlinInternalInJava"
})
public final class OptionalFactoryInstanceCreationExpression_Factory {
private final Provider optionalFactoriesProvider;
private final Provider componentImplementationProvider;
private final Provider componentRequestRepresentationsProvider;
public OptionalFactoryInstanceCreationExpression_Factory(
Provider optionalFactoriesProvider,
Provider componentImplementationProvider,
Provider componentRequestRepresentationsProvider) {
this.optionalFactoriesProvider = optionalFactoriesProvider;
this.componentImplementationProvider = componentImplementationProvider;
this.componentRequestRepresentationsProvider = componentRequestRepresentationsProvider;
}
public OptionalFactoryInstanceCreationExpression get(OptionalBinding binding) {
return newInstance(binding, optionalFactoriesProvider.get(), componentImplementationProvider.get(), componentRequestRepresentationsProvider.get());
}
public static OptionalFactoryInstanceCreationExpression_Factory create(
Provider optionalFactoriesProvider,
Provider componentImplementationProvider,
Provider componentRequestRepresentationsProvider) {
return new OptionalFactoryInstanceCreationExpression_Factory(optionalFactoriesProvider, componentImplementationProvider, componentRequestRepresentationsProvider);
}
public static OptionalFactoryInstanceCreationExpression newInstance(OptionalBinding binding,
Object optionalFactories, ComponentImplementation componentImplementation,
ComponentRequestRepresentations componentRequestRepresentations) {
return new OptionalFactoryInstanceCreationExpression(binding, (OptionalFactories) optionalFactories, componentImplementation, componentRequestRepresentations);
}
}