@Override
	protected String[] getSuggestedValues(StringSettingsDefinition settingsDefinition) {
		if (!settingsDefinition.supportsSuggestedValues()) {
			return null;
		}
		if (data != null) {
			return settingsDefinition.getSuggestedValues(data);
		}
		if (sampleSelectionSettings == null) {
			DataIterator definedData = program.getListing().getDefinedData(selection, true);
			while (definedData.hasNext()) {
				sampleSelectionSettings = definedData.next();
				break;
			}
			if (sampleSelectionSettings == null) {
				return null;
			}
		}
		return settingsDefinition.getSuggestedValues(sampleSelectionSettings);
	}
Build an array of SettingsDefinitions which are shared across
all defined data constrained by an address set.

The presence of an instruction will result in the selectionContainsInstruction
flag being set.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/data/DataSettingsDialog.java