public class

TransitiveDependencyVisitor

extends Object
implements BindingTargetVisitor<T, V>
java.lang.Object
   ↳ com.google.inject.grapher.TransitiveDependencyVisitor

Class Overview

BindingTargetVisitor that returns a Collection of the Keys of each Binding's dependencies. Used by InjectorGropher to walk the dependency graph from a starting set of Bindings.

Summary

Public Constructors
TransitiveDependencyVisitor()
Public Methods
Collection<Key<?>> visit(ConstructorBinding<?> binding)
Collection<Key<?>> visit(ConvertedConstantBinding<?> binding)
Collection<Key<?>> visit(ExposedBinding<?> 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<?>> visit(UntargettedBinding<?> binding)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.google.inject.spi.BindingTargetVisitor

Public Constructors

public TransitiveDependencyVisitor ()

Public Methods

public Collection<Key<?>> visit (ConstructorBinding<?> binding)

public Collection<Key<?>> visit (ConvertedConstantBinding<?> binding)

public Collection<Key<?>> visit (ExposedBinding<?> binding)

public Collection<Key<?>> visit (InstanceBinding<?> binding)

public Collection<Key<?>> visit (LinkedKeyBinding<?> binding)

public Collection<Key<?>> visit (ProviderBinding<?> binding)

public Collection<Key<?>> visit (ProviderInstanceBinding<?> binding)

public Collection<Key<?>> visit (ProviderKeyBinding<?> binding)

public Collection<Key<?>> visit (UntargettedBinding<?> binding)