Scopes a provider. The returned provider returns objects from this scope. If an object does not exist in this scope, the provider can use the given unscoped provider to retrieve one. Scope implementations are strongly encouraged to override Object#toString in the returned provider and in
(Key<T> key, Provider<T> unscoped)
| 42 | * the requested object doesn't already exist in this scope |
| 43 | */ |
| 44 | public <T> Provider<T> scope(Key<T> key, Provider<T> unscoped); |
| 45 | |
| 46 | /** |
| 47 | * A short but useful description of this scope. For comparison, the standard scopes that ship |
no outgoing calls