private void writeIfStatement(final IASTIfStatement ifStatement) {
scribe.print(IF);
scribe.noNewLines();
if (ifStatement instanceof ICPPASTIfStatement) {
final ICPPASTIfStatement cppIfStatment = (ICPPASTIfStatement) ifStatement;
if (cppIfStatment.getConditionDeclaration() == null) {
cppIfStatment.getConditionExpression().accept(visitor);
} else {
writeDeclarationWithoutSemicolon(cppIfStatment.getConditionDeclaration());
}
} else {
ifStatement.getConditionExpression().accept(visitor);
}