public class TransitiveDependencyVisitor extends DefaultBindingTargetVisitor<Object,Collection<Key<?>>>
BindingTargetVisitor
that returns a Collection
of the
Key
s of each Binding
's dependencies. Used by InjectorGrapher
to walk the
dependency graph from a starting set of Binding
s.Constructor and Description |
---|
TransitiveDependencyVisitor() |
Modifier and Type | Method and Description |
---|---|
Collection<Key<?>> |
visit(ConstructorBinding<?> binding) |
Collection<Key<?>> |
visit(ConvertedConstantBinding<?> binding) |
Collection<Key<?>> |
visit(InstanceBinding<?> binding) |
Collection<Key<?>> |
visit(LinkedKeyBinding<?> binding) |
Collection<Key<?>> |
visit(ProviderBinding<?> binding) |
Collection<Key<?>> |
visit(ProviderInstanceBinding<?> binding) |
Collection<Key<?>> |
visit(ProviderKeyBinding<?> binding) |
Collection<Key<?>> |
visitOther(Binding<?> binding) |
visit, visit
public Collection<Key<?>> visit(ConstructorBinding<?> binding)
visit
in interface BindingTargetVisitor<Object,Collection<Key<?>>>
visit
in class DefaultBindingTargetVisitor<Object,Collection<Key<?>>>
public Collection<Key<?>> visit(ConvertedConstantBinding<?> binding)
visit
in interface BindingTargetVisitor<Object,Collection<Key<?>>>
visit
in class DefaultBindingTargetVisitor<Object,Collection<Key<?>>>
public Collection<Key<?>> visit(InstanceBinding<?> binding)
visit
in interface BindingTargetVisitor<Object,Collection<Key<?>>>
visit
in class DefaultBindingTargetVisitor<Object,Collection<Key<?>>>
public Collection<Key<?>> visit(LinkedKeyBinding<?> binding)
visit
in interface BindingTargetVisitor<Object,Collection<Key<?>>>
visit
in class DefaultBindingTargetVisitor<Object,Collection<Key<?>>>
public Collection<Key<?>> visit(ProviderBinding<?> binding)
visit
in interface BindingTargetVisitor<Object,Collection<Key<?>>>
visit
in class DefaultBindingTargetVisitor<Object,Collection<Key<?>>>
public Collection<Key<?>> visit(ProviderInstanceBinding<?> binding)
visit
in interface BindingTargetVisitor<Object,Collection<Key<?>>>
visit
in class DefaultBindingTargetVisitor<Object,Collection<Key<?>>>
public Collection<Key<?>> visit(ProviderKeyBinding<?> binding)
visit
in interface BindingTargetVisitor<Object,Collection<Key<?>>>
visit
in class DefaultBindingTargetVisitor<Object,Collection<Key<?>>>
public Collection<Key<?>> visitOther(Binding<?> binding)
visitOther
in class DefaultBindingTargetVisitor<Object,Collection<Key<?>>>
Copyright © 2006–2020 Google, Inc.. All rights reserved.