private void writeComponent(DataTypeComponent component, Composite composite, StringBuilder sb,
			TaskMonitor monitor) throws IOException, CancelledException {
		sb.append("    ");
		sb.append(annotator.getPrefix(composite, component));

		String fieldName = component.getFieldName();
		if (fieldName == null || fieldName.length() == 0) {
			fieldName = component.getDefaultFieldName();
		}

		DataType componentDataType = component.getDataType();

		sb.append(getTypeDeclaration(fieldName, componentDataType, component.getLength(), false,
			monitor));

		sb.append(";");
		sb.append(annotator.getSuffix(composite, component));

		String comment = component.getComment();
		if (comment != null && comment.length() > 0) {
			sb.append(" " + comment(comment));
		}
		sb.append(EOL);
	}
Writes the data type as ANSI-C using the underlying writer.
@param dt the data type to write as ANSI-C
@param monitor the task monitor
@throws IOException if there is an exception writing the output
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/DataTypeWriter.java