Bug 223375 [Commands] CommandSerializationTest failure in HEAD
bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/ParameterizedCommand.java
return buffer.toString();
	}
	/**
	 * Generates every possible combination of parameter values for the given
	 * parameters. Parameters values that cannot be initialized are just
	 * ignored. Optional parameters are considered.
	 * 
	 * @param startIndex
	 *            The index in the <code>parameters</code> that we should
	 *            process. This must be a valid index.
	 * @param parameters
	 *            The parameters in to process; must not be <code>null</code>.
	 * @return A collection (<code>Collection</code>) of combinations (<code>List</code>
	 *         of <code>Parameterization</code>).
	 */
	private static final Collection expandParameters(final int startIndex,
			final IParameter[] parameters) {
		final int nextIndex = startIndex + 1;
		final boolean noMoreParameters = (nextIndex >= parameters.length);
		final IParameter parameter = parameters[startIndex];
		final List parameterizations = new ArrayList();
		if (parameter.isOptional()) {
			parameterizations.add(null);
		}
		IParameterValues values = null;
		try {
			values = parameter.getValues();
		} catch (final ParameterValuesException e) {
			if (noMoreParameters) {
				return parameterizations;