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
Visit a constructor binding.
|
V |
visit(ConvertedConstantBinding
Visit a binding created from converting a bound instance to a new type.
|
V |
visit(ExposedBinding
Visit a binding to a key exposed from an enclosed private environment.
|
V |
visit(InstanceBinding
Visit a instance binding.
|
V |
visit(LinkedKeyBinding
Visit a linked key binding.
|
V |
visit(ProviderBinding
Visit a binding to a
Provider that delegates to the binding for the provided type.
|
V |
visit(ProviderInstanceBinding
Visit a provider instance binding.
|
V |
visit(ProviderKeyBinding
Visit a provider key binding.
|
V |
visit(UntargettedBinding
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.