dagger.internal.codegen.writing.ProviderInstanceBindingExpression_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.codegen.binding.ContributionBinding;
import dagger.internal.codegen.langmodel.DaggerElements;
import dagger.internal.codegen.langmodel.DaggerTypes;
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 ProviderInstanceBindingExpression_Factory {
private final Provider typesProvider;
private final Provider elementsProvider;
public ProviderInstanceBindingExpression_Factory(Provider typesProvider,
Provider elementsProvider) {
this.typesProvider = typesProvider;
this.elementsProvider = elementsProvider;
}
public ProviderInstanceBindingExpression get(ContributionBinding binding,
FrameworkInstanceSupplier frameworkInstanceSupplier) {
return newInstance(binding, frameworkInstanceSupplier, typesProvider.get(), elementsProvider.get());
}
public static ProviderInstanceBindingExpression_Factory create(
Provider typesProvider, Provider elementsProvider) {
return new ProviderInstanceBindingExpression_Factory(typesProvider, elementsProvider);
}
public static ProviderInstanceBindingExpression newInstance(ContributionBinding binding,
Object frameworkInstanceSupplier, DaggerTypes types, DaggerElements elements) {
return new ProviderInstanceBindingExpression(binding, (FrameworkInstanceSupplier) frameworkInstanceSupplier, types, elements);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy