public static String toString(DataTypeComponent c) {
		StringBuffer buffer = new StringBuffer();
		buffer.append("  " + c.getOrdinal());
		buffer.append("  " + c.getOffset());
		buffer.append("  " + c.getDataType().getName());
		if (c.isBitFieldComponent()) {
			buffer.append("(" + ((BitFieldDataType) c.getDataType()).getBitOffset() + ")");
		}
		buffer.append("  " + c.getLength());
		String name = c.getFieldName();
		if (name == null) {
			name = "";
		}
		buffer.append("  " + name);
		String cmt = c.getComment();
		buffer.append("  " + ((cmt != null) ? ("\"" + cmt + "\"") : ""));
		return buffer.toString();
	}
Update component ordinal, offset and length during alignment
@param ordinal updated ordinal
@param offset updated offset
@param length updated byte length
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/InternalDataTypeComponent.java