@Override
	List<String> getAllUndoNames() {
		List<String> descriptions = new ArrayList<>();
		for (SynchronizedTransaction tx : undoList) {
			descriptions.add(tx.getDescription());
		}
		Collections.reverse(descriptions);
		return descriptions;
	}
Returns the undo stack depth.
(The number of items on the undo stack)
This method is for JUnits.
@return the undo stack depth
Ghidra/Framework/Project/src/main/java/ghidra/framework/data/SynchronizedTransactionManager.java