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

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

There is a newer version: 2.54
Show newest version
package dagger.internal.codegen.writing;

import dagger.internal.DaggerGenerated;
import dagger.internal.codegen.binding.ContributionBinding;
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 ComponentInstanceBindingExpression_Factory {
  private final Provider componentImplementationProvider;

  public ComponentInstanceBindingExpression_Factory(
      Provider componentImplementationProvider) {
    this.componentImplementationProvider = componentImplementationProvider;
  }

  public ComponentInstanceBindingExpression get(ContributionBinding binding) {
    return newInstance(binding, componentImplementationProvider.get());
  }

  public static ComponentInstanceBindingExpression_Factory create(
      Provider componentImplementationProvider) {
    return new ComponentInstanceBindingExpression_Factory(componentImplementationProvider);
  }

  public static ComponentInstanceBindingExpression newInstance(ContributionBinding binding,
      ComponentImplementation componentImplementation) {
    return new ComponentInstanceBindingExpression(binding, componentImplementation);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy