private void findNext() {
		try {
			while (nextCu == null) {
				long addr;
				if (forward) {
					if (!it.hasNext()) {
						break;
					}
					addr = it.next();
				}
				else {
					if (!it.hasPrevious()) {
						break;
					}
					addr = it.previous();
				}
				nextCu = codeMgr.getCodeUnitAt(addr);
			}
		}
		catch (IOException e) {
		}
	}
@see ghidra.program.model.listing.CodeUnitIterator#next()
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/code/CodeUnitKeyIterator.java