public static String typeToName(int type) {
		switch (type) {
			case ProgramDiffFilter.BYTE_DIFFS:
				return "BYTE_DIFFS";
			case ProgramDiffFilter.CODE_UNIT_DIFFS:
				return "CODE_UNIT_DIFFS";
			case ProgramDiffFilter.COMMENT_DIFFS:
				return "COMMENT_DIFFS";
			case ProgramDiffFilter.EOL_COMMENT_DIFFS:
				return "EOL_COMMENT_DIFFS";
			case ProgramDiffFilter.PRE_COMMENT_DIFFS:
				return "PRE_COMMENT_DIFFS";
			case ProgramDiffFilter.POST_COMMENT_DIFFS:
				return "POST_COMMENT_DIFFS";
			case ProgramDiffFilter.PLATE_COMMENT_DIFFS:
				return "PLATE_COMMENT_DIFFS";
			case ProgramDiffFilter.REPEATABLE_COMMENT_DIFFS:
				return "REPEATABLE_COMMENT_DIFFS";
			case ProgramDiffFilter.REFERENCE_DIFFS:
				return "REFERENCE_DIFFS";
			case ProgramDiffFilter.USER_DEFINED_DIFFS:
				return "USER_DEFINED_DIFFS";
			case ProgramDiffFilter.SYMBOL_DIFFS:
				return "SYMBOL_DIFFS";
			case ProgramDiffFilter.EQUATE_DIFFS:
				return "EQUATE_DIFFS";
			case ProgramDiffFilter.FUNCTION_DIFFS:
				return "FUNCTION_DIFFS";
			case ProgramDiffFilter.BOOKMARK_DIFFS:
				return "BOOKMARK_DIFFS";
			case ProgramDiffFilter.PROGRAM_CONTEXT_DIFFS:
				return "PROGRAM_CONTEXT_DIFFS";
			case ProgramDiffFilter.ALL_DIFFS:
				return "ALL_DIFFS";
			case ProgramDiffFilter.FUNCTION_TAG_DIFFS:
				return "FUNCTION_TAG_DIFFS";
			case ProgramDiffFilter.SOURCE_MAP_DIFFS:
				return "SOURCE_MAP_DIFFS";
			default:
				return "";
		}
	}
<CODE>typeToName()</CODE> returns the name of the difference type.
 Only predefined types, as specified in <CODE>ProgramDiffFilter</CODE>,
 will return a name. Otherwise, an empty string is returned.
@param type the type of difference whose name is wanted.
@return the name of the predefined difference type. Otherwise, the empty string.
Ghidra/Features/Base/src/main/java/ghidra/program/util/ProgramDiffFilter.java