private void initOptions(Options fieldOptions, String offsetDescription,
			String nameDescription) {
		HelpLocation helpLoc =
			new HelpLocation("CodeBrowserPlugin", offsetDescription + "_Offset_Field");
		fieldOptions.getOptions(groupTitle).setOptionsHelpLocation(helpLoc);

		fieldOptions.registerOption(getFullOptionName(SHOW_NAME), DEFAULT_SHOW_NAME, helpLoc,
			"Prepends the %s name to the %s offset in the offset field."
					.formatted(nameDescription.toLowerCase(), offsetDescription));
		fieldOptions.registerOption(getFullOptionName(USE_HEX), DEFAULT_USE_HEX, helpLoc,
			"Toggles displaying offsets in hexadecimal/decimal in the offset field.");

		showName = fieldOptions.getBoolean(getFullOptionName(SHOW_NAME), DEFAULT_SHOW_NAME);
		useHex = fieldOptions.getBoolean(getFullOptionName(USE_HEX), DEFAULT_USE_HEX);
	}
Gets the {@link OffsetFieldType offset type}

@return the {@link OffsetFieldType offset type}
Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/field/AbstractOffsetFieldFactory.java