private CodeUnit getCodeUnitContaining(Address addr) {
		Listing listing = program.getListing();
		CodeUnit cu = listing.getCodeUnitAt(addr);
		if (cu == null) {
			cu = listing.getCodeUnitContaining(addr);
			if (cu instanceof Data) {
				Data data = (Data) cu;
				return data.getPrimitiveAt((int) addr.subtract(data.getMinAddress()));
			}
		}
		return cu;
	}
Constructor

@param location the location for the preview
@param codeUnitFormat the format needed to render preview data
Ghidra/Features/Base/src/main/java/ghidra/util/table/PreviewTableCellData.java