Scalar getScalar(int index) {
			Object obj = representationList.get(index);
			if (!(obj instanceof Scalar)) {
				return null;
			}

			Scalar scalar = (Scalar) obj;
			if (scalar.getUnsignedValue() == 0) {
				return processZeroScalar ? scalar : null;
			}
			return scalar;
		}
A simple class to find the scalars and addresses in the operand
representation list and to keep track of whether to process a scalar with
a zero value.
Ghidra/Features/Base/src/main/java/ghidra/program/model/listing/CodeUnitFormat.java