@Override public void visit(final ForStmt n, final Object arg) {
printJavaComment(n.getComment(), arg);
printer.print("for (");
if (n.getInit() != null) {
for (final Iterator<Expression> i = n.getInit().iterator(); i.hasNext();) {
final Expression e = i.next();
e.accept(this, arg);
if (i.hasNext()) {
printer.print(", ");
}
}
}
printer.print("; ");
if (n.getCompare() != null) {
n.getCompare().accept(this, arg);
}
printer.print("; ");
if (n.getUpdate() != null) {
for (final Iterator<Expression> i = n.getUpdate().iterator(); i.hasNext();) {
final Expression e = i.next();
e.accept(this, arg);
if (i.hasNext()) {
printer.print(", ");
}
}
}