Home | History | Annotate | Download | only in spi

Lines Matching refs:dependency

27  * A combination of a {@link Dependency} and the {@link Binding#getSource()
28 * source} where the dependency was bound.
34 private final Dependency<?> dependency;
37 public DependencyAndSource(Dependency<?> dependency, Object source) {
38 this.dependency = dependency;
43 * Returns the Dependency, if one exists. For anything that can be referenced
44 * by {@link Injector#getBinding}, a dependency exists. A dependency will not
50 public Dependency<?> getDependency() {
51 return dependency;
55 * Returns a string describing where this dependency was bound. If the binding
71 Dependency<?> dep = getDependency();
74 return "Dependency: " + dep + ", source: " + source;