private static String getString(List<String> list, boolean multiline) {
		if (!multiline) {
			String[] strs = list != null ? new String[list.size()] : null;
			return getString(strs, false);
		}
		StringBuffer strBuf = new StringBuffer("   ");
		if (list == null) {
			strBuf.append("-none-");
			return strBuf.toString();
		}
		int linelen = 0;
		for (String str : list) {
			if (linelen != 0) {
				strBuf.append(", ");
				linelen += 2;
			}
			if (linelen >= 40) {
				strBuf.append("\n   ");
				linelen = 0;
			}
			linelen += str.length();
			strBuf.append(str);
		}
		return strBuf.toString();
	}
Get formatted RegisterValue as list of child register values
@param value
@return
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/util/InstructionUtils.java