public void initializeOptions() {
		options = tool.getOptions(getOptionsCategory());

		String hoverName = getName();
		options.registerOption(hoverName, true, null, getDescription());
		setOptions(options, hoverName);
		options.addOptionsChangeListener(this);
	}
A listing or decompiler hover that employs some degree of configurability.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/hover/AbstractConfigurableHover.java