Interface ElementVisitor<V>
-
- Type Parameters:
V
- any type to be returned by the visit method. UseVoid
withreturn null
if no return type is needed.
- All Known Implementing Classes:
DefaultElementVisitor
public interface ElementVisitor<V>
Visit elements.- Since:
- 2.0
-
-
Method Summary
Modifier and Type Method 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(InjectionRequest request)
Visit a request to inject the instance fields and methods of an instance.<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 occurred.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(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.
-
-
-
Method Detail
-
visit
<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.
-
visit
V visit(ScopeBinding binding)
Visit a registration of a scope annotation with the scope that implements it.
-
visit
V visit(TypeConverterBinding binding)
Visit a registration of type converters for matching target types.
-
visit
V visit(InjectionRequest request)
Visit a request to inject the instance fields and methods of an instance.
-
visit
V visit(StaticInjectionRequest request)
Visit a request to inject the static fields and methods of type.
-
visit
<T> V visit(ProviderLookup<T> lookup)
Visit a lookup of the provider for a type.
-
visit
<T> V visit(MembersInjectorLookup<T> lookup)
Visit a lookup of the members injector.
-
visit
V visit(PrivateElements elements)
Visit a collection of configuration elements for a private binder.
-
visit
V visit(TypeListenerBinding binding)
Visit an injectable type listener binding.
-
-