private static void generateConflictException(Variable var, VariableStorage newStorage,
			List<Variable> conflicts, int maxConflictVarDetails) throws VariableSizeException {

		maxConflictVarDetails = Math.min(conflicts.size(), maxConflictVarDetails);

		StringBuilder msg = new StringBuilder("Variable storage conflict between ");
		appendVariableStorageDetails(var, newStorage, msg);
		msg.append(" and ");
		for (int i = 0; i < maxConflictVarDetails; i++) {
			if (i != 0) {
				msg.append(", ");
			}
			Variable v = conflicts.get(i);
			appendVariableStorageDetails(v, v.getVariableStorage(), msg);
		}
		if (maxConflictVarDetails < conflicts.size()) {
			msg.append(" ... {");
			msg.append(Integer.toString(conflicts.size() - maxConflictVarDetails));
			msg.append(" more}");
		}
		throw new VariableSizeException(msg.toString(), true);
	}
Provides means of resolving variable conflicts (e.g., removing of conflicts)
@param conflicts variable conflicts
@return true if conflicts resolved else false
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/listing/VariableUtilities.java