se.jbee.inject.bind
Class Binder.TypedElementBinder<E>
Object
se.jbee.inject.bind.Binder.TypedBinder<E[]>
se.jbee.inject.bind.Binder.TypedElementBinder<E>
- Enclosing class:
- Binder
public static class Binder.TypedElementBinder<E>
- extends Binder.TypedBinder<E[]>
This kind of bindings actually re-map the []-type so that the automatic behavior of returning
all known instances of the element type will no longer be used whenever the bind made
applies.
- Author:
- Jan Bernitt (jan@jbee.se)
| Methods inherited from class se.jbee.inject.bind.Binder.TypedBinder |
bind, expand, getType, on, onMulti, to, to, to, to, to, to, to, to, to, to, to, to, to, to, toConstructor, toConstructor, toConstructor, toMacro, toParametrized, toSupplier |
| Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Binder.TypedElementBinder
Binder.TypedElementBinder(Bind bind,
Instance<E[]> instance)
toElements
public void toElements(Parameter<? extends E> p1)
toElements
public void toElements(Parameter<? extends E> p1,
Parameter<? extends E> p2)
toElements
public void toElements(Parameter<? extends E> p1,
Parameter<? extends E> p2,
Parameter<? extends E> p3)
toElements
public void toElements(Parameter<? extends E>... parameters)
toElements
public void toElements(E c1)
toElements
public void toElements(E c1,
E c2)
toElements
public void toElements(E c1,
E c2,
E c3)
toElements
public void toElements(E... constants)