public class UntargettedBindingImpl<T> extends BindingImpl<T> implements UntargettedBinding<T>
Constructor and Description |
---|
UntargettedBindingImpl(Injector injector,
Key<T> key,
java.lang.Object source) |
UntargettedBindingImpl(java.lang.Object source,
Key<T> key,
Scoping scoping) |
Modifier and Type | Method and Description |
---|---|
<V> V |
acceptTargetVisitor(BindingTargetVisitor<? super T,V> visitor)
Accepts a target visitor.
|
void |
applyTo(Binder binder)
Writes this module element to the given binder (optional operation).
|
java.lang.String |
toString() |
BindingImpl<T> |
withKey(Key<T> key) |
BindingImpl<T> |
withScoping(Scoping scoping) |
acceptScopingVisitor, acceptVisitor, getInjector, getInternalFactory, getKey, getProvider, getScoping, getSource, isConstant
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
acceptScopingVisitor, getKey, getProvider
acceptVisitor, getSource
public UntargettedBindingImpl(Injector injector, Key<T> key, java.lang.Object source)
public <V> V acceptTargetVisitor(BindingTargetVisitor<? super T,V> visitor)
Binding
acceptTargetVisitor
in interface Binding<T>
visitor
- to call back onpublic BindingImpl<T> withScoping(Scoping scoping)
withScoping
in class BindingImpl<T>
public BindingImpl<T> withKey(Key<T> key)
withKey
in class BindingImpl<T>
public void applyTo(Binder binder)
Element
public java.lang.String toString()
toString
in class BindingImpl<T>