Here you can find the source of assertNull(Object object, String errMsg)
public static void assertNull(Object object, String errMsg)
//package com.java2s; public class Main { public static void assertNull(Object object, String errMsg) { if (object != null) { throw new RuntimeException(errMsg); }/*from w w w . j av a 2 s.com*/ } }