V
- any type to be returned by the visit method. Use Void
with return null
if no return type is needed.public interface ElementVisitor<V>
Modifier and Type | Method and Description |
---|---|
<T> V |
visit(Binding<T> binding)
Visit a mapping from a key (type and optional annotation) to the strategy for getting instances
of the type.
|
V |
visit(DisableCircularProxiesOption option)
Visit a disable circular proxies command.
|
V |
visit(InjectionRequest<?> request)
Visit a request to inject the instance fields and methods of an instance.
|
V |
visit(InterceptorBinding binding)
Visit a registration of interceptors for matching methods of matching classes.
|
<T> V |
visit(MembersInjectorLookup<T> lookup)
Visit a lookup of the members injector.
|
V |
visit(Message message)
Visit an error message and the context in which it occured.
|
V |
visit(ModuleAnnotatedMethodScannerBinding binding)
|
V |
visit(PrivateElements elements)
Visit a collection of configuration elements for a private binder.
|
<T> V |
visit(ProviderLookup<T> lookup)
Visit a lookup of the provider for a type.
|
V |
visit(ProvisionListenerBinding binding)
Visit a provision listener binding.
|
V |
visit(RequireAtInjectOnConstructorsOption option)
Visit a require explicit @
Inject command. |
V |
visit(RequireExactBindingAnnotationsOption option)
Visit a require exact binding annotations command.
|
V |
visit(RequireExplicitBindingsOption option)
Visit a require explicit bindings command.
|
V |
visit(ScopeBinding binding)
Visit a registration of a scope annotation with the scope that implements it.
|
V |
visit(StaticInjectionRequest request)
Visit a request to inject the static fields and methods of type.
|
V |
visit(TypeConverterBinding binding)
Visit a registration of type converters for matching target types.
|
V |
visit(TypeListenerBinding binding)
Visit an injectable type listener binding.
|
<T> V visit(Binding<T> binding)
V visit(InterceptorBinding binding)
V visit(ScopeBinding binding)
V visit(TypeConverterBinding binding)
V visit(InjectionRequest<?> request)
V visit(StaticInjectionRequest request)
<T> V visit(ProviderLookup<T> lookup)
<T> V visit(MembersInjectorLookup<T> lookup)
V visit(PrivateElements elements)
V visit(TypeListenerBinding binding)
V visit(ProvisionListenerBinding binding)
V visit(RequireExplicitBindingsOption option)
V visit(DisableCircularProxiesOption option)
V visit(RequireAtInjectOnConstructorsOption option)
Inject
command.V visit(RequireExactBindingAnnotationsOption option)
V visit(ModuleAnnotatedMethodScannerBinding binding)
Binder.scanModulesForAnnotatedMethods(com.google.inject.spi.ModuleAnnotatedMethodScanner)
command.Copyright © 2006–2018 Google, Inc.. All rights reserved.