MCPcopy Index your code
hub / github.com/antlr/codebuff / checkElementNotNull

Method checkElementNotNull

output/java_guava/1.4.17/ObjectArrays.java:260–266  ·  view source on GitHub ↗
(Object element, int index)

Source from the content-addressed store, hash-verified

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}

Callers 2

checkElementsNotNullMethod · 0.95
constructMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected