(@ParametricNullness C closeable)
| 105 | */ |
| 106 | // close. this word no longer has any meaning to me. |
| 107 | @CanIgnoreReturnValue |
| 108 | @ParametricNullness |
| 109 | public <C extends @Nullable Closeable> C register(@ParametricNullness C closeable) { |
| 110 | if (closeable != null) { |
| 111 | stack.addFirst(closeable); |
| 112 | } |
| 113 | |
| 114 | return closeable; |
| 115 | } |
| 116 | |
| 117 | /** |
| 118 | * Stores the given throwable and rethrows it. It will be rethrown as is if it is an {@code |