protected static <T extends MethodMatcher> List<T> matchers(List<T> list) {
		List<T> result = new ArrayList<>(list);
		result.sort(Comparator.comparing(MethodMatcher::score).reversed());
		if (result.isEmpty()) {
			throw new AssertionError("empty matchers list?");
		}
		int prevScore = result.get(0).score();
		for (int i = 1; i < result.size(); i++) {
			int curScore = result.get(i).score();
			if (prevScore <= curScore) {
				throw new AssertionError("duplicate scores: " + curScore);
			}
		}
		return List.copyOf(result);
	}
TODO: RemoteMethod parameter descriptions should also use ValStr. This map conversion
stuff is getting onerous and hacky.
Ghidra/Debug/Debugger-rmi-trace/src/main/java/ghidra/app/plugin/core/debug/service/tracermi/TraceRmiTarget.java