Makes the binding for key available to other modules and the injector.
(Key<T> key)
| 115 | |
| 116 | /** Makes the binding for {@code key} available to other modules and the injector. */ |
| 117 | protected final <T> void expose(Key<T> key) { |
| 118 | binder().expose(key); |
| 119 | } |
| 120 | |
| 121 | /** |
| 122 | * Makes a binding for {@code type} available to other modules and the injector. Use {@link |