-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
Current behavior: when target type is generic, we use plain old inner binding classes.
We should move to lambda expressions.
Two cases must be handled:
- raw type; binding to a
private Map field;for example - anonymous constrained type; binding to a
private Map<? extends K, V>orprivate Map<K, ? extends K> fieldorprivate Map<? extends K, ? extends V> field - anonymous unconstrained type; binding to a
private Map<?, V>orprivate Map<K, ?> fieldorprivate Map<?, ?> field
For raw type, we need to build a custom TypeRawBindingPath<R, P, T> extends AbstractBinding<R, P, T, Type> as a binding base class.
Not sure if constrained and unconstrained types are really different cases.