class ASTForLoopNode extends ASTControlFlowNode {
  private List<AugmentedStmt> init; // list of values
  // notice B is an ASTCondition and is stored in the parent
  private List<AugmentedStmt> update; // list of values

  private List<Object> body;

  public ASTForLoopNode(SETNodeLabel label, List<AugmentedStmt> init, ASTCondition condition, List<AugmentedStmt> update,
      List<Object> body) {
    super(label, condition);
    this.body = body;
    this.init = init;
    this.update = update;

    subBodies.add(body);
  }

  public List<AugmentedStmt> getInit() {
    return init;
  }

  public List<AugmentedStmt> getUpdate() {
    return update;
  }

  public void replaceBody(List<Object> body) {
    this.body = body;
    subBodies = new ArrayList<Object>();
    subBodies.add(body);
  }

  public Object clone() {
    return new ASTForLoopNode(get_Label(), init, get_Condition(), update, body);
  }

  public void toString(UnitPrinter up) {
    label_toString(up);

    up.literal("for");
    up.literal(" ");
    up.literal("(");

    Iterator<AugmentedStmt> it = init.iterator();
    while (it.hasNext()) {
      AugmentedStmt as = it.next();
      Unit u = as.get_Stmt();
      u.toString(up);
      if (it.hasNext()) {
        up.literal(" , ");
      }
    }

    up.literal("; ");

    condition.toString(up);
    up.literal("; ");

    it = update.iterator();
    while (it.hasNext()) {
      AugmentedStmt as = it.next();
      Unit u = as.get_Stmt();
      u.toString(up);
      if (it.hasNext()) {
        up.literal(" , ");
      }
    }

    up.literal(")");
    up.newline();

    up.literal("{");
    up.newline();

    up.incIndent();
    body_toString(up, body);
    up.decIndent();

    up.literal("}");
    up.newline();

  }

  public String toString() {<FILL_FUNCTION_BODY>}

  public void apply(Analysis a) {
    a.caseASTForLoopNode(this);
  }

}

    StringBuffer b = new StringBuffer();

    b.append(label_toString());
    b.append("for (");

    Iterator<AugmentedStmt> it = init.iterator();
    while (it.hasNext()) {
      b.append(it.next().get_Stmt().toString());
      if (it.hasNext()) {
        b.append(" , ");
      }
    }
    b.append("; ");

    b.append(get_Condition().toString());
    b.append("; ");

    it = update.iterator();
    while (it.hasNext()) {
      b.append(it.next().get_Stmt().toString());
      if (it.hasNext()) {
        b.append(" , ");
      }
    }

    b.append(")");
    b.append(NEWLINE);

    b.append("{");
    b.append(NEWLINE);

    b.append(body_toString(body));

    b.append("}");
    b.append(NEWLINE);

    return b.toString();
  
<methods>public void <init>(soot.dava.internal.SET.SETNodeLabel, soot.jimple.ConditionExpr) ,public void <init>(soot.dava.internal.SET.SETNodeLabel, soot.dava.internal.AST.ASTCondition) ,public soot.dava.internal.AST.ASTCondition get_Condition() ,public void perform_Analysis(soot.dava.toolkits.base.AST.ASTAnalysis) ,public void set_Condition(soot.dava.internal.AST.ASTCondition) <variables>soot.dava.internal.AST.ASTCondition condition