protected void checkNonNull(Object obj) {
    	if (obj == null) {
            throw new NullPointerException("Argument may not be null");
    	}
    }
Check that object is not null.

@param obj object to check
@throws NullPointerException if object is null
jphp-runtime/src/php/runtime/memory/support/IList.java