private String getPreview(boolean htmlFriendly) {
		String preview = getProgramLocationPreview();
		if (preview != null) {
			return preview;
		}

		// nothing special for the given location, just display the code unit
		// Note: this will change over time as we add more program-location-specific previews
		CodeUnit codeUnit = getCodeUnitContaining(address);
		if (codeUnit != null) {
			return getPreview(codeUnit, htmlFriendly);
		}

		// Note: at the time of writing, this code will never be executed, as the CodeManager
		// will always return a CodeUnit, even when there is nothing in the database
		return getAddressPreview();
	}
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