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

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

package dagger.internal.codegen.writing;

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

  private final Provider typesProvider;

  public ComponentMethodBindingExpression_Factory(
      Provider componentImplementationProvider,
      Provider typesProvider) {
    this.componentImplementationProvider = componentImplementationProvider;
    this.typesProvider = typesProvider;
  }

  public ComponentMethodBindingExpression get(BindingExpression wrappedBindingExpression,
      ComponentDescriptor.ComponentMethodDescriptor componentMethod) {
    return newInstance(wrappedBindingExpression, componentMethod, componentImplementationProvider.get(), typesProvider.get());
  }

  public static ComponentMethodBindingExpression_Factory create(
      Provider componentImplementationProvider,
      Provider typesProvider) {
    return new ComponentMethodBindingExpression_Factory(componentImplementationProvider, typesProvider);
  }

  public static ComponentMethodBindingExpression newInstance(Object wrappedBindingExpression,
      ComponentDescriptor.ComponentMethodDescriptor componentMethod,
      ComponentImplementation componentImplementation, DaggerTypes types) {
    return new ComponentMethodBindingExpression((BindingExpression) wrappedBindingExpression, componentMethod, componentImplementation, types);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy