flattenParameter( ( (IParameterGroupDefn) param ) .getContents() );
allParameters.addAll( flattenParameter(( (IParameterGroupDefn) param ).getContents()) );
	protected ArrayList flattenParameter( ArrayList params )	{		assert params != null;		IParameterDefnBase param;		ArrayList allParameters = new ArrayList();		for ( int n = 0; n < params.size( ); n++ )		{			param = (IParameterDefnBase) params.get( n );			if ( param.getParameterType() == IParameterDefnBase.PARAMETER_GROUP )			{				flattenParameter( ( (IParameterGroupDefn) param )						.getContents() );			}			else			{				allParameters.add( param );			}		}				return allParameters;	}