Here you can find the source of assertObjectNotNull(Object o, String name)
public static void assertObjectNotNull(Object o, String name) throws NullPointerException
//package com.java2s; //License from project: Open Source License public class Main { public static void assertObjectNotNull(Object o, String name) throws NullPointerException { if (o == null) { throw new NullPointerException(name); }// w w w. j a v a 2s . c o m } }