@SuppressWarnings("unused")
	private void formatType() {
		ArchiveType archiveType = sourceArchive.getArchiveType();
		String typeString = (archiveType == ArchiveType.FILE) ? "File Archive"
				: (archiveType == ArchiveType.PROGRAM) ? "Program"
						: (archiveType == ArchiveType.PROJECT) ? "Project Archive"
								: (archiveType == ArchiveType.BUILT_IN) ? "Built-In" : "Invalid";
		insertString("          Type: ", headingAttrs);
		insertString(typeString + "\n", valueAttrs);
	}
Panel to show the contents of a Source Archive.
Ghidra/Features/Base/src/main/java/ghidra/app/merge/datatypes/SourceArchivePanel.java