Here you can find the source of assertNotNull(Object val)
public static void assertNotNull(Object val)
//package com.java2s; //License from project: Open Source License public class Main { public static void assertNotNull(Object val) { if (val == null) { throw new AssertionError("val is null"); }/* www . j av a 2 s. c om*/ } }