public static class DependencyExplorer.DependencyExplorerOutput extends Object
DependencyGraph
itself, as well as additional information about the
nodes.Modifier and Type | Method and Description |
---|---|
Collection<Map.Entry<Key<?>,String>> |
getBindingErrors()
Returns pairs containing the
Key<?> s that were unavailable from the injector
hierarchy but that we were unable to create implicit bindings for and an error message
describing the problem we encountered while creating the implicit binding. |
DependencyGraph |
getGraph()
Returns the
DependencyGraph containing information about nodes found from the origin. |
Collection<Map.Entry<Key<?>,Binding>> |
getImplicitBindings()
Returns map entries containing the
Key<?> s that weren't already available and the
Binding we created (implicitly) for it. |
Collection<Key<?>> |
getImplicitlyBoundKeys()
Return the
Key<?> s that weren't already available and for which we successfully
created implicit bindings. |
Map<Key<?>,GinjectorBindings> |
getPreExistingLocations()
Returns a map from each
Key<?> that was already available in the injector hierarchy
to the Ginjector on which it was found. |
void |
removeBinding(Key<?> key)
Removes an implicit binding from the information being tracked.
|
int |
size() |
public int size()
public Map<Key<?>,GinjectorBindings> getPreExistingLocations()
Key<?>
that was already available in the injector hierarchy
to the Ginjector on which it was found.public Collection<Key<?>> getImplicitlyBoundKeys()
Key<?>
s that weren't already available and for which we successfully
created implicit bindings.public Collection<Map.Entry<Key<?>,String>> getBindingErrors()
Key<?>
s that were unavailable from the injector
hierarchy but that we were unable to create implicit bindings for and an error message
describing the problem we encountered while creating the implicit binding.public Collection<Map.Entry<Key<?>,Binding>> getImplicitBindings()
Key<?>
s that weren't already available and the
Binding
we created (implicitly) for it. If there was an error creating the implicit
binding, the key will not be found here. Look in getBindingErrors()
instead.public void removeBinding(Key<?> key)
public DependencyGraph getGraph()
DependencyGraph
containing information about nodes found from the origin.Copyright © 2008–2018. All rights reserved.