public static <T> List<T> asList(Iterable<T> it) {
		return asList(it.iterator());
	}
Returns the given collection if not null, an empty collection otherwise.  This is
useful for clients avoid null checks.

@param c the collection to check
@return a non-null collection
Ghidra/Framework/Generic/src/main/java/util/CollectionUtils.java