private int[] getAllIndices(int number) {
		if (number < 0) {
			throw new IllegalArgumentException();
		}
		int[] numbers = new int[number];
		for (int i = 0; i < number; i++) {
			numbers[i] = i;
		}
		return numbers;
	}
Returns an array of the indicated contiguous number of indices starting at 0.
This provides a convenient way to get an array indicating all the operand indices for
a particular code unit by specifying its number of operands.
@param number the number of indices to return.
@return the indices.
Ghidra/Features/Base/src/main/java/ghidra/program/util/ListingDiff.java