private void transformLastMemberIntoFlexArray(CompositeMember lastMember) {
		if (!(lastMember instanceof DefaultCompositeMember)) {
			return;
		}
		DefaultCompositeMember m = (DefaultCompositeMember) lastMember;
		if (m.memberIsZeroLengthArray) {
			// transform last member into flexible array
			Structure struct = (Structure) memberDataType;
			Array array = (Array) m.getDataType();
			// TODO: there may be a more direct approach since we now handle zero-length array instantiation
			struct.delete(struct.getNumComponents() - 1); // delete placeholder component
			struct.insertAtOffset(m.memberOffset,
				new ArrayDataType(array.getDataType(), 0, 1, dataTypeManager), 0, m.getName(),
				m.memberComment); // use unmodified comment
		}
	}
Get the data type associated with this member.  Container members data-type
may continue to transform as additional members are added.
@return data type associated with this member.
Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb/DefaultCompositeMember.java