final StatementInfo body = new StatementInfo(whileStatement.getBody(), typeDeclaration, compilationUnitInfo);
return f.newWhileStatement(condition.getExpression(), body.getStatement());
}
private IASTStatement convertForStatement(final ForStatement forStatement) {
IASTStatement init;
if (forStatement.initializers().isEmpty()) {
init = f.newDefaultStatement();
} else {
final VariableDeclarationExpressionInfo initExpression = new VariableDeclarationExpressionInfo((VariableDeclarationExpression) forStatement.initializers().get(0), compilationUnitInfo);
final IASTDeclarationStatement declarationStatement = f.newDeclarationStatement(initExpression.getDeclaration());