Construct a context that cannot be cancelled and will not cascade cancellation from its parent.
(Node<Key<?>, Object> keyValueEntries, int generation)
| 185 | * Construct a context that cannot be cancelled and will not cascade cancellation from its parent. |
| 186 | */ |
| 187 | private Context(Node<Key<?>, Object> keyValueEntries, int generation) { |
| 188 | this.cancellableAncestor = null; |
| 189 | this.keyValueEntries = keyValueEntries; |
| 190 | this.generation = generation; |
| 191 | validateGeneration(generation); |
| 192 | } |
| 193 | |
| 194 | /** |
| 195 | * Construct a context that cannot be cancelled but will cascade cancellation from its parent if |
nothing calls this directly
no test coverage detected