private void updateComponent(InternalDataTypeComponent dataTypeComponent, int ordinal,
			int offset, int length, int alignment) {

		if (ordinal != dataTypeComponent.getOrdinal() || offset != dataTypeComponent.getOffset() ||
			length != dataTypeComponent.getLength()) {

			dataTypeComponent.update(ordinal, offset, length);
			componentsChanged = true;
		}

		lastAlignment = Math.max(lastAlignment, alignment);
	}
Adjust lastComponent which must be a zero-length bitfield and its associated
groupOffset based upon the adjusted alignment.
@param ordinal component ordinal assignment
@param minimumAlignment minimum alignment of component immediately after
the zero-length component
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/AlignedComponentPacker.java