MCPcopy Create free account
hub / github.com/antlr/codebuff / checkElement

Method checkElement

corpus/java/training/guava/collect/Constraint.java:55–55  ·  view source on GitHub ↗

Throws a suitable RuntimeException if the specified element is illegal. Typically this is either a NullPointerException, an IllegalArgumentException, or a ClassCastException, though an application-specific exception class may be used if appropriate. @param element th

(E element)

Source from the content-addressed store, hash-verified

53 * @return the provided element
54 */
55 @CanIgnoreReturnValue
56 E checkElement(E element);
57
58 /**

Callers 15

addMethod · 0.65
addMethod · 0.65
addMethod · 0.65
addMethod · 0.65
setMethod · 0.65
addMethod · 0.65
setMethod · 0.65
checkElementsMethod · 0.65
nextMethod · 0.65
previousMethod · 0.65
nextMethod · 0.65
nextMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected