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

dagger.internal.codegen.writing.ComponentRequirementExpressions_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.Factory;
import dagger.internal.QualifierMetadata;
import dagger.internal.ScopeMetadata;
import dagger.internal.codegen.binding.BindingGraph;
import java.util.Optional;
import javax.inject.Provider;

@ScopeMetadata("dagger.internal.codegen.writing.PerComponentImplementation")
@QualifierMetadata("dagger.internal.codegen.writing.ParentComponent")
@DaggerGenerated
@SuppressWarnings({
    "unchecked",
    "rawtypes",
    "KotlinInternal",
    "KotlinInternalInJava"
})
public final class ComponentRequirementExpressions_Factory implements Factory {
  private final Provider> parentProvider;

  private final Provider graphProvider;

  private final Provider componentImplementationProvider;

  public ComponentRequirementExpressions_Factory(
      Provider> parentProvider,
      Provider graphProvider,
      Provider componentImplementationProvider) {
    this.parentProvider = parentProvider;
    this.graphProvider = graphProvider;
    this.componentImplementationProvider = componentImplementationProvider;
  }

  @Override
  public ComponentRequirementExpressions get() {
    return newInstance(parentProvider.get(), graphProvider.get(), componentImplementationProvider.get());
  }

  public static ComponentRequirementExpressions_Factory create(
      Provider> parentProvider,
      Provider graphProvider,
      Provider componentImplementationProvider) {
    return new ComponentRequirementExpressions_Factory(parentProvider, graphProvider, componentImplementationProvider);
  }

  public static ComponentRequirementExpressions newInstance(
      Optional parent, BindingGraph graph,
      ComponentImplementation componentImplementation) {
    return new ComponentRequirementExpressions(parent, graph, componentImplementation);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy