statementContext = oldStatementContext;
    public void visitForStatement(JForStatement self,                                  JStatement init,                                  JExpression cond,                                  JStatement incr,                                  JStatement body) {	if (KjcOptions.doloops && self instanceof JDoLoopStatement) {	    visitDoLoopStatement((JDoLoopStatement)self);	    return;	}		//be careful, if you return prematurely, decrement me	forLoopHeader++;	print("for (");		if (init != null) {	    init.accept(this);	    //the ; will print in a statement visitor	}		print(" ");	if (cond != null) {	    cond.accept(this);	}	//cond is an expression so print the ;	print("; ");	if (incr != null) {	    FlatIRToRS l2c = new FlatIRToRS(newArrayExprs);	    l2c.doloops = this.doloops;	    incr.accept(l2c);	    // get String	    String str = l2c.getString();	    // leave off the trailing semicolon if there is one	    if (str.endsWith(";")) {		print(str.substring(0, str.length()-1));	    } else { 		print(str);	    }	}	forLoopHeader--;	print(") ");	        //print("{");	newLine();        pos += TAB_SIZE;        body.accept(this);        pos -= TAB_SIZE;        newLine();	//print("}");    }