src/main/java/com/zandero/utils/Assert.java
public static <T> void isNullOrEmpty(T[] array, String message) {

		isTrue(array == null || array.length == 0, message);
	}
public static <T> void isNullOrEmpty(T[] array, String message) {

		isTrue(array == null || array.length == 0, message);
	}
Tests if array is null or empty

@param array   must be null or empty
@param message to return in exception
@param <T>     object type
@throws IllegalArgumentException if list != null or list.size() greater than 0