public CodeUnitFormat getCodeUnitFormat() {
		PluginTool tool = state.getTool();
		if (cuFormat == null) {
			if (tool != null) {
				cuFormat = new BrowserCodeUnitFormat(tool);
			}
			else {
				cuFormat = new CodeUnitFormat(ShowBlockName.NEVER, ShowNamespace.NON_LOCAL);
			}
		}
		return cuFormat;
	}
Returns the code unit format established for the code browser listing
or a default format if no tool (e.g., headless).
<p>
This format object may be used to format any code unit (instruction/data) using
the same option settings.

@return code unit format when in GUI mode, default format in headless
Ghidra/Features/Base/src/main/java/ghidra/app/script/GhidraScript.java