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

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

The newest version!
// Generated by Dagger (https://dagger.dev).
package dagger.internal.codegen.writing;

import dagger.internal.DaggerGenerated;
import dagger.internal.QualifierMetadata;
import dagger.internal.ScopeMetadata;
import dagger.internal.codegen.binding.ComponentBinding;
import javax.inject.Provider;

@ScopeMetadata
@QualifierMetadata
@DaggerGenerated
@SuppressWarnings({
    "unchecked",
    "rawtypes",
    "KotlinInternal",
    "KotlinInternalInJava"
})
public final class ComponentInstanceRequestRepresentation_Factory {
  private final Provider componentImplementationProvider;

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

  public ComponentInstanceRequestRepresentation get(ComponentBinding binding) {
    return newInstance(binding, componentImplementationProvider.get());
  }

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

  public static ComponentInstanceRequestRepresentation newInstance(ComponentBinding binding,
      ComponentImplementation componentImplementation) {
    return new ComponentInstanceRequestRepresentation(binding, componentImplementation);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy