class ASTUnconditionalLoopNode extends ASTLabeledNode {
  private List<Object> body;

  public ASTUnconditionalLoopNode(SETNodeLabel label, List<Object> body) {
    super(label);
    this.body = body;

    subBodies.add(body);
  }

  /*
   * Nomair A Naeem 20-FEB-2005 Added for UselessLabeledBlockRemover
   */
  public void replaceBody(List<Object> body) {
    this.body = body;
    subBodies = new ArrayList<Object>();
    subBodies.add(body);
  }

  public Object clone() {
    return new ASTUnconditionalLoopNode(get_Label(), body);
  }

  public void toString(UnitPrinter up) {<FILL_FUNCTION_BODY>}

  public String toString() {
    StringBuffer b = new StringBuffer();

    b.append(label_toString());

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

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

    b.append(body_toString(body));

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

    return b.toString();
  }

  /*
   * Nomair A. Naeem, 7-FEB-05 Part of Visitor Design Implementation for AST See: soot.dava.toolkits.base.AST.analysis For
   * details
   */
  public void apply(Analysis a) {
    a.caseASTUnconditionalLoopNode(this);
  }
}

    label_toString(up);
    up.literal("while");
    up.literal(" ");
    up.literal("(");
    up.literal("true");
    up.literal(")");
    up.newline();

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

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

    up.literal("}");
    up.newline();
  
<methods>public void <init>(soot.dava.internal.SET.SETNodeLabel) ,public soot.dava.internal.SET.SETNodeLabel get_Label() ,public void label_toString(soot.UnitPrinter) ,public java.lang.String label_toString() ,public void perform_Analysis(soot.dava.toolkits.base.AST.ASTAnalysis) ,public void set_Label(soot.dava.internal.SET.SETNodeLabel) <variables>private soot.dava.internal.SET.SETNodeLabel label