public static String encode(Collection<TraceBreakpointKind> col) {
			StringBuilder sb = new StringBuilder();
			boolean first = true;
			for (TraceBreakpointKind k : values()) {
				if (col.contains(k)) {
					if (!first) {
						sb.append(',');
					}
					first = false;
					sb.append(k.name());
				}
			}
			return sb.toString();
		}
Convert a set (or collection) of kinds to a comma-separated list of names.

The list is always encoded in order of the declaration of kinds (enum order).

@param col the set
@return the encoded list
Ghidra/Debug/Framework-TraceModeling/src/main/java/ghidra/trace/model/breakpoint/TraceBreakpointKind.java