public void setOptions(Options options, String optionName) {
		String hoverName = getName();
		if (optionName.equals(hoverName)) {
			enabled = options.getBoolean(hoverName, true);
		}
	}
A listing or decompiler hover that employs some degree of configurability.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/hover/AbstractConfigurableHover.java