@SafeVarargs
	public static <T> List<T> asList(T... items) {
		List<T> list = new ArrayList<>();
		if (items == null) {
			return list;
		}

		if (items.length == 1 && items[0] == null) {
			return list;
		}

		for (T arrayElement : items) {
			list.add(arrayElement);
		}

		return list;
	}
Similar to {@link Arrays#asList(Object...)}, except that this method will turn a single
null parameter into an empty list.  Also, this method creates a new, mutable array,
whereas the former's array is not mutable.

@param items the items to add to the list
@return the list
Ghidra/Framework/Generic/src/main/java/util/CollectionUtils.java