private int indexOfFirstNonZeroLenComponentContainingOffset(int index, int offset) {
		index = backupToFirstComponentContainingOffset(index, offset);
		DataTypeComponentDB next = components.get(index);
		while (next.getLength() == 0 && index < (components.size() - 1)) {
			next = components.get(index + 1);
			if (!next.containsOffset(offset)) {
				break;
			}
			++index;
		}
		return index;
	}
Identify defined-component index of the first non-zero-length component which contains the
specified offset. If only zero-length components exist, the last zero-length component which
contains the offset will be returned.

@param index any defined component index which contains offset.
@param offset offset within structure.
@return index of first defined component containing specific offset.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/StructureDB.java