private static String removeTemplateParams(DemangledObject demangledObj) {
		String name = demangledObj.getDemangledName();
		int pos1 = name.indexOf('<');
		if (pos1 < 0) {
			return null;
		}
		int nesting = 1;
		int pos2;
		for (pos2 = pos1 + 1; pos2 < name.length(); ++pos2) {
			char c = name.charAt(pos2);
			if (c == '<') {
				nesting += 1;
			}
			else if (c == '>') {
				nesting -= 1;
				if (nesting == 0) {
					break;
				}
			}
		}
		if (nesting != 0) {
			return null;
		}
		return name.substring(0, pos1 + 1) + name.substring(pos2);
	}
If there exists an initial set of template parameters bracketed by '<' and '>'
in the given demangled name, strip them.
@param demangledObj is the object holding the demangled name
@return the stripped name or null if no parameters present
Ghidra/Features/FunctionID/src/main/java/ghidra/feature/fid/service/NameVersions.java