if (variableTails != null)
{
Iterator variableTailIt = variableTails.iterator();
while (variableTailIt.hasNext())
{
AVariableDeclarationListTail tail = (AVariableDeclarationListTail)variableTailIt.next();
declarations.add(
ConcreteSyntaxUtils.newVariableDeclaration(tail.getVariableDeclaration(),
tail.getVariableDeclarationValue()));
}
}
}
}
return (VariableDeclaration[])declarations.toArray(new VariableDeclaration[0]);