(Object element, int index)
| 258 | // creation cost. |
| 259 | |
| 260 | @CanIgnoreReturnValue |
| 261 | static Object checkElementNotNull(Object element, int index) { |
| 262 | if (element == null) { |
| 263 | throw new NullPointerException("at index " + index); |
| 264 | } |
| 265 | return element; |
| 266 | } |
| 267 | } |
no outgoing calls
no test coverage detected