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

io.relayr.java.api.mock.MockAggregatedDataService$$InjectAdapter Maven / Gradle / Ivy

The newest version!
// Code generated by dagger-compiler.  Do not edit.
package io.relayr.java.api.mock;

import dagger.internal.Binding;
import dagger.internal.Linker;
import java.lang.Override;
import java.lang.SuppressWarnings;
import java.util.Set;

/**
 * A {@code Binding} implementation which satisfies
 * Dagger's infrastructure requirements including:
 *
 * Owning the dependency links between {@code io.relayr.java.api.mock.MockAggregatedDataService} and its
 * dependencies.
 *
 * Being a {@code Provider} and handling creation and
 * preparation of object instances.
 */
public final class MockAggregatedDataService$$InjectAdapter extends Binding {
  private Binding mockBackend;

  public MockAggregatedDataService$$InjectAdapter() {
    super("io.relayr.java.api.mock.MockAggregatedDataService", "members/io.relayr.java.api.mock.MockAggregatedDataService", NOT_SINGLETON, MockAggregatedDataService.class);
  }

  /**
   * Used internally to link bindings/providers together at run time
   * according to their dependency graph.
   */
  @Override
  @SuppressWarnings("unchecked")
  public void attach(Linker linker) {
    mockBackend = (Binding) linker.requestBinding("io.relayr.java.api.mock.MockBackend", MockAggregatedDataService.class, getClass().getClassLoader());
  }

  /**
   * Used internally obtain dependency information, such as for cyclical
   * graph detection.
   */
  @Override
  public void getDependencies(Set> getBindings, Set> injectMembersBindings) {
    getBindings.add(mockBackend);
  }

  /**
   * Returns the fully provisioned instance satisfying the contract for
   * {@code Provider}.
   */
  @Override
  public MockAggregatedDataService get() {
    MockAggregatedDataService result = new MockAggregatedDataService(mockBackend.get());
    return result;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy