private void formatTypeDefText(TypeDef td) {
		formatSourceArchive(td);
		formatPath(td);
		insertString(td.getDisplayName(), nameAttrs);
		insertString("\n", contentAttrs);
		insertString("  TypeDef on " + td.getDataType().getDisplayName(), contentAttrs);
	}
Panel to show the contents of a Data Type.
Ghidra/Features/Base/src/main/java/ghidra/app/merge/datatypes/DataTypePanel.java