Create a Key with the given debug name and default value. @param debugString a name intended for debugging purposes and does not impact behavior. Multiple different keys may have the same debugString. The value should be not null.
(String debugString, T defaultValue)
| 158 | * The value should be not null. |
| 159 | */ |
| 160 | public static <T> Key<T> keyWithDefault(String debugString, T defaultValue) { |
| 161 | return new Key<>(debugString, defaultValue); |
| 162 | } |
| 163 | |
| 164 | /** |
| 165 | * Return the context associated with the current scope, will never return {@code null}. |
no outgoing calls
no test coverage detected