All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dagger.internal.codegen.writing.OptionalBindingExpression_Factory Maven / Gradle / Ivy

package dagger.internal.codegen.writing;

import dagger.internal.DaggerGenerated;
import dagger.internal.codegen.binding.ProvisionBinding;
import dagger.internal.codegen.langmodel.DaggerTypes;
import javax.annotation.Generated;
import javax.inject.Provider;
import javax.lang.model.SourceVersion;

@DaggerGenerated
@Generated(
    value = "dagger.internal.codegen.ComponentProcessor",
    comments = "https://dagger.dev"
)
@SuppressWarnings({
    "unchecked",
    "rawtypes"
})
public final class OptionalBindingExpression_Factory {
  private final Provider componentBindingExpressionsProvider;

  private final Provider typesProvider;

  private final Provider sourceVersionProvider;

  public OptionalBindingExpression_Factory(
      Provider componentBindingExpressionsProvider,
      Provider typesProvider, Provider sourceVersionProvider) {
    this.componentBindingExpressionsProvider = componentBindingExpressionsProvider;
    this.typesProvider = typesProvider;
    this.sourceVersionProvider = sourceVersionProvider;
  }

  public OptionalBindingExpression get(ProvisionBinding binding) {
    return newInstance(binding, componentBindingExpressionsProvider.get(), typesProvider.get(), sourceVersionProvider.get());
  }

  public static OptionalBindingExpression_Factory create(
      Provider componentBindingExpressionsProvider,
      Provider typesProvider, Provider sourceVersionProvider) {
    return new OptionalBindingExpression_Factory(componentBindingExpressionsProvider, typesProvider, sourceVersionProvider);
  }

  public static OptionalBindingExpression newInstance(ProvisionBinding binding,
      ComponentBindingExpressions componentBindingExpressions, DaggerTypes types,
      SourceVersion sourceVersion) {
    return new OptionalBindingExpression(binding, componentBindingExpressions, types, sourceVersion);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy