@Override
	public CodeBlock[] getCodeBlocksContaining(Address addr, TaskMonitor monitor)
			throws CancelledException {
		CodeBlock block = getFirstCodeBlockContaining(addr, monitor);
		if (block == null) {
			return emptyArray;
		}
		CodeBlock[] arr = new CodeBlock[1];
		arr[0] = block;
		return arr;
	}
Get all the Code Blocks containing the address.

@param addr   Address to find a containing block.
@param monitor task monitor which allows user to cancel operation.
@return A SimpleBlock if any block contains the address
       empty array otherwise.
@throws CancelledException if the monitor cancels the operation.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/block/SimpleBlockModel.java