io.relayr.java.api.mock.MockPublishersApi$$InjectAdapter Maven / Gradle / Ivy
// Code generated by dagger-compiler. Do not edit.
package io.relayr.java.api.mock;
import dagger.internal.Binding;
import dagger.internal.Linker;
import java.util.Set;
import javax.inject.Provider;
/**
* A {@code Binding} implementation which satisfies
* Dagger's infrastructure requirements including:
*
* Owning the dependency links between {@code MockPublishersApi} and its
* dependencies.
*
* Being a {@code Provider} and handling creation and
* preparation of object instances.
*/
public final class MockPublishersApi$$InjectAdapter extends Binding
implements Provider {
private Binding mockBackend;
public MockPublishersApi$$InjectAdapter() {
super("io.relayr.java.api.mock.MockPublishersApi", "members/io.relayr.java.api.mock.MockPublishersApi", NOT_SINGLETON, MockPublishersApi.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", MockPublishersApi.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 MockPublishersApi get() {
MockPublishersApi result = new MockPublishersApi(mockBackend.get());
return result;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy