@Override
	public boolean equals(Object obj) {
		if (this == obj) {
			return true;
		}
		if (obj == null) {
			return false;
		}
		if (getClass() != obj.getClass()) {
			return false;
		}
		ThemeValue<?> other = (ThemeValue<?>) obj;

		return Objects.equals(id, other.id) && Objects.equals(referenceId, other.referenceId) &&
			Objects.equals(value, other.value);
	}
Returns the ThemeValue referred to by this ThemeValue. Needs to be overridden by
concrete classes as they know the correct method to call on the preferredValues map.
@param preferredValues the {@link GThemeValueMap} to be used to resolve the reference id
@param refId  the id of the reference ThemeValue
@return the ThemeValue referred to by this ThemeValue.
Ghidra/Framework/Gui/src/main/java/generic/theme/ThemeValue.java