private static String abbrevTemplateName(String s) {
		int startBracket = s.indexOf('<');
		int endBracket = s.lastIndexOf('>');
		if (startBracket + NAME_HASH_REPLACEMENT_SIZE < endBracket) {
			String templateParams = s.substring(startBracket, endBracket);
			return "%s$%x$%s".formatted(s.substring(0, startBracket + 1), templateParams.hashCode(),
				s.substring(endBracket));
		}
		return s;
	}
Transform a string with a C++ template-like syntax into a hopefully shorter version that
uses a fixed-length hash of the original string.
<p>
blah&lt;foo, bar&gt;
<p>
becomes
<p>
blah&lt;$12345678$&gt;
@param s data type name
@return transformed data type name
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/dwarf/DWARFProgram.java