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

		FieldSelection other = (FieldSelection) obj;
		return Objects.equals(ranges, other.ranges);
	}
Insert all fields in the ranges in the given field selection from this one.
@param selection the field selection fields to add to this field selection.
Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/support/FieldSelection.java