@SuppressWarnings("UnusedReturnValue")
	public static <T> T checkNull(T reference, String errorMessageTemplate, Object... errorMessageArgs) {
		if (reference != null) {
			// If either of these parameters is null, the right thing happens anyway
			throw new IllegalArgumentException(format(errorMessageTemplate, errorMessageArgs));
		}
		return reference;
	}
Ensures that the given reference is null.

@param reference            reference
@param errorMessageTemplate error message template
@param errorMessageArgs     arguments to be filled in the template.
ngrinder-core/src/main/java/org/ngrinder/common/util/Preconditions.java