public static void javaOutputStatements(Cons statementlist) {
    { Stella_Object statement = null;
      Cons iter000 = statementlist;

      for (;!(iter000 == Stella.NIL); iter000 = iter000.rest) {
        statement = iter000.value;
        if (!(Cons.javaIllegalStatementP(((Cons)(statement))))) {
          if (Cons.javaIndentStatementP(((Cons)(statement)))) {
            Stella.javaIndent();
          }
          Stella_Object.javaOutputStatement(statement);
          if (Cons.javaOutputSemicolonP(((Cons)(statement)))) {
            ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.println(";");
          }
        }
      }
    }
  }