public static <T> List<T> asList(List<T> list) {
		if (list == null) {
			return new ArrayList<>();
		}
		return list;
	}
Returns the given list if not null, otherwise returns an empty list. This is
useful for clients avoid null checks.

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