public abstract class

DefaultElementVisitor

extends Object
implements ElementVisitor<V>
java.lang.Object
   ↳ com.google.inject.spi.DefaultElementVisitor<V>

Class Overview

No-op visitor for subclassing. All interface methods simply delegate to visitOther(Element), returning its result.

Summary

Public Constructors
DefaultElementVisitor()
Public Methods
<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<?> injectionRequest)
Visit a request to inject the instance fields and methods of an instance.
V visit(InterceptorBinding interceptorBinding)
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(PrivateElements privateElements)
Visit a collection of configuration elements for a private binder.
<T> V visit(ProviderLookup<T> providerLookup)
Visit a lookup of the provider for a type.
V visit(RequireExplicitBindingsOption option)
Visit a require explicit bindings command.
V visit(ScopeBinding scopeBinding)
Visit a registration of a scope annotation with the scope that implements it.
V visit(StaticInjectionRequest staticInjectionRequest)
Visit a request to inject the static fields and methods of type.
V visit(TypeConverterBinding typeConverterBinding)
Visit a registration of type converters for matching target types.
V visit(TypeListenerBinding binding)
Visit an injectable type listener binding.
Protected Methods
V visitOther(Element element)
Default visit implementation.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.google.inject.spi.ElementVisitor

Public Constructors

public DefaultElementVisitor ()

Public Methods

public V visit (Binding<T> binding)

Visit a mapping from a key (type and optional annotation) to the strategy for getting instances of the type.

public V visit (DisableCircularProxiesOption option)

Visit a disable circular proxies command.

public V visit (InjectionRequest<?> injectionRequest)

Visit a request to inject the instance fields and methods of an instance.

public V visit (InterceptorBinding interceptorBinding)

Visit a registration of interceptors for matching methods of matching classes.

public V visit (MembersInjectorLookup<T> lookup)

Visit a lookup of the members injector.

public V visit (Message message)

Visit an error message and the context in which it occured.

public V visit (PrivateElements privateElements)

Visit a collection of configuration elements for a private binder.

public V visit (ProviderLookup<T> providerLookup)

Visit a lookup of the provider for a type.

public V visit (RequireExplicitBindingsOption option)

Visit a require explicit bindings command.

public V visit (ScopeBinding scopeBinding)

Visit a registration of a scope annotation with the scope that implements it.

public V visit (StaticInjectionRequest staticInjectionRequest)

Visit a request to inject the static fields and methods of type.

public V visit (TypeConverterBinding typeConverterBinding)

Visit a registration of type converters for matching target types.

public V visit (TypeListenerBinding binding)

Visit an injectable type listener binding.

Protected Methods

protected V visitOther (Element element)

Default visit implementation. Returns null.