@Override
	public CodeBlockIterator getCodeBlocks(TaskMonitor monitor) throws CancelledException {
		return new SimpleBlockIterator(this, monitor);
	}
Get an iterator over the code blocks in the entire program.
@param monitor task monitor which allows user to cancel operation.
@throws CancelledException if the monitor cancels the operation.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/block/SimpleBlockModel.java