Collection declarations = new ArrayList();
if (variableDeclarationList != null)
{
AVariableDeclarationList variables = (AVariableDeclarationList)variableDeclarationList;
if (variables != null)
{
// add the first one
declarations.add(ConcreteSyntaxUtils.newVariableDeclaration(variables.getVariableDeclaration(),
variables.getVariableDeclarationValue()));
// add the rest
List variableTails = variables.getVariableDeclarationListTail();
if (variableTails != null)
{
Iterator variableTailIt = variableTails.iterator();
while (variableTailIt.hasNext())
{