MCPcopy Index your code
hub / github.com/HtmlUnit/htmlunit / notNull

Method notNull

src/main/java/org/htmlunit/WebAssert.java:533–537  ·  view source on GitHub ↗

Assert that the specified parameter is not null. Throw a NullPointerException if a null is found. @param description the description to pass into the NullPointerException @param object the object to check for null @throws NullPointerException if the object is null

(final String description, final Object object)

Source from the content-addressed store, hash-verified

531 * @throws NullPointerException if the object is null
532 */
533 public static void notNull(final String description, final Object object) {
534 if (object == null) {
535 throw new NullPointerException(description);
536 }
537 }
538}

Callers 15

setDefaultMethod · 0.95
TopLevelWindowMethod · 0.95
WebWindowImplMethod · 0.95
setProxyConfigMethod · 0.95
WebClientMethod · 0.95
setWebConnectionMethod · 0.95
loadWebResponseIntoMethod · 0.95
setCookieManagerMethod · 0.95
setCurrentWindowMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected