dagger.internal.codegen.binding.OptionalBindingDeclaration_Factory_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.binding;
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 OptionalBindingDeclaration_Factory_Factory implements Factory {
private final Provider keyFactoryProvider;
public OptionalBindingDeclaration_Factory_Factory(Provider keyFactoryProvider) {
this.keyFactoryProvider = keyFactoryProvider;
}
@Override
public OptionalBindingDeclaration.Factory get() {
return newInstance(keyFactoryProvider.get());
}
public static OptionalBindingDeclaration_Factory_Factory create(
Provider keyFactoryProvider) {
return new OptionalBindingDeclaration_Factory_Factory(keyFactoryProvider);
}
public static OptionalBindingDeclaration.Factory newInstance(KeyFactory keyFactory) {
return new OptionalBindingDeclaration.Factory(keyFactory);
}
}