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

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

There is a newer version: 2.52
Show newest version
// Generated by Dagger (https://dagger.dev).
package dagger.internal.codegen.writing;

import dagger.internal.DaggerGenerated;
import dagger.internal.codegen.binding.BindingGraph;
import dagger.internal.codegen.binding.ProvisionBinding;
import javax.inject.Provider;

@DaggerGenerated
@SuppressWarnings({
    "unchecked",
    "rawtypes"
})
public final class DirectInstanceBindingRepresentation_Factory {
  private final Provider graphProvider;

  private final Provider componentImplementationProvider;

  private final Provider componentMethodRequestRepresentationFactoryProvider;

  private final Provider immediateFutureRequestRepresentationFactoryProvider;

  private final Provider privateMethodRequestRepresentationFactoryProvider;

  private final Provider unscopedDirectInstanceRequestRepresentationFactoryProvider;

  public DirectInstanceBindingRepresentation_Factory(Provider graphProvider,
      Provider componentImplementationProvider,
      Provider componentMethodRequestRepresentationFactoryProvider,
      Provider immediateFutureRequestRepresentationFactoryProvider,
      Provider privateMethodRequestRepresentationFactoryProvider,
      Provider unscopedDirectInstanceRequestRepresentationFactoryProvider) {
    this.graphProvider = graphProvider;
    this.componentImplementationProvider = componentImplementationProvider;
    this.componentMethodRequestRepresentationFactoryProvider = componentMethodRequestRepresentationFactoryProvider;
    this.immediateFutureRequestRepresentationFactoryProvider = immediateFutureRequestRepresentationFactoryProvider;
    this.privateMethodRequestRepresentationFactoryProvider = privateMethodRequestRepresentationFactoryProvider;
    this.unscopedDirectInstanceRequestRepresentationFactoryProvider = unscopedDirectInstanceRequestRepresentationFactoryProvider;
  }

  public DirectInstanceBindingRepresentation get(ProvisionBinding binding) {
    return newInstance(binding, graphProvider.get(), componentImplementationProvider.get(), componentMethodRequestRepresentationFactoryProvider.get(), immediateFutureRequestRepresentationFactoryProvider.get(), privateMethodRequestRepresentationFactoryProvider.get(), unscopedDirectInstanceRequestRepresentationFactoryProvider.get());
  }

  public static DirectInstanceBindingRepresentation_Factory create(
      Provider graphProvider,
      Provider componentImplementationProvider,
      Provider componentMethodRequestRepresentationFactoryProvider,
      Provider immediateFutureRequestRepresentationFactoryProvider,
      Provider privateMethodRequestRepresentationFactoryProvider,
      Provider unscopedDirectInstanceRequestRepresentationFactoryProvider) {
    return new DirectInstanceBindingRepresentation_Factory(graphProvider, componentImplementationProvider, componentMethodRequestRepresentationFactoryProvider, immediateFutureRequestRepresentationFactoryProvider, privateMethodRequestRepresentationFactoryProvider, unscopedDirectInstanceRequestRepresentationFactoryProvider);
  }

  public static DirectInstanceBindingRepresentation newInstance(ProvisionBinding binding,
      BindingGraph graph, ComponentImplementation componentImplementation,
      Object componentMethodRequestRepresentationFactory,
      Object immediateFutureRequestRepresentationFactory,
      Object privateMethodRequestRepresentationFactory,
      Object unscopedDirectInstanceRequestRepresentationFactory) {
    return new DirectInstanceBindingRepresentation(binding, graph, componentImplementation, (ComponentMethodRequestRepresentation.Factory) componentMethodRequestRepresentationFactory, (ImmediateFutureRequestRepresentation.Factory) immediateFutureRequestRepresentationFactory, (PrivateMethodRequestRepresentation.Factory) privateMethodRequestRepresentationFactory, (UnscopedDirectInstanceRequestRepresentationFactory) unscopedDirectInstanceRequestRepresentationFactory);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy