V
- any type to be returned by the visit method. Use Void
with
return null
if no return type is needed.public interface BindingTargetVisitor<T,V>
Modifier and Type | Method and Description |
---|---|
V |
visit(ConstructorBinding<? extends T> binding)
Visit a constructor binding.
|
V |
visit(ConvertedConstantBinding<? extends T> binding)
Visit a binding created from converting a bound instance to a new type.
|
V |
visit(ExposedBinding<? extends T> binding)
Visit a binding to a key exposed from an enclosed private environment.
|
V |
visit(InstanceBinding<? extends T> binding)
Visit a instance binding.
|
V |
visit(LinkedKeyBinding<? extends T> binding)
Visit a linked key binding.
|
V |
visit(ProviderBinding<? extends T> binding)
Visit a binding to a
Provider that delegates to the binding for the
provided type. |
V |
visit(ProviderInstanceBinding<? extends T> binding)
Visit a provider instance binding.
|
V |
visit(ProviderKeyBinding<? extends T> binding)
Visit a provider key binding.
|
V |
visit(UntargettedBinding<? extends T> binding)
Visit an untargetted binding.
|
V visit(InstanceBinding<? extends T> binding)
V visit(ProviderInstanceBinding<? extends T> binding)
get
method is invoked to resolve
injections. This target is found in both module and injector bindings.V visit(ProviderKeyBinding<? extends T> binding)
get
method is invoked. This target is found in both module and injector
bindings.V visit(LinkedKeyBinding<? extends T> binding)
V visit(ExposedBinding<? extends T> binding)
V visit(UntargettedBinding<? extends T> binding)
V visit(ConstructorBinding<? extends T> binding)
constructor
. This target is found only on injector bindings.V visit(ConvertedConstantBinding<? extends T> binding)
V visit(ProviderBinding<? extends T> binding)
Provider
that delegates to the binding for the
provided type. This target is found only on injector bindings.Copyright © 2006-2015 Google, Inc.. All Rights Reserved.