public static void javaOutputIf(Cons tree) {
    ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.print("if (");
    Stella_Object.javaOutputStatement(tree.value);
    ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.print(") ");
    if (Stella_Object.javaPrognP(tree.rest.value) ||
        Stella_Object.javaBlockP(tree.rest.value)) {
      Stella_Object.javaOutputStatement(tree.rest.value);
    }
    else {
      {
        ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.println();
        Stella.javaBumpIndent();
        Stella.javaIndent();
        Stella_Object.javaOutputStatement(tree.rest.value);
        ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.println(";");
        Stella.javaUnbumpIndent();
      }
    }
    if (!(tree.rest.rest.value == null)) {
      Stella.javaIndent();
      ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.print("else ");
      if (Stella_Object.javaPrognP(tree.rest.rest.value) ||
          Stella_Object.javaBlockP(tree.rest.rest.value)) {
        Stella_Object.javaOutputStatement(tree.rest.rest.value);
      }
      else {
        {
          ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.println();
          Stella.javaBumpIndent();
          Stella.javaIndent();
          Stella_Object.javaOutputStatement(tree.rest.rest.value);
          ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.println(";");
          Stella.javaUnbumpIndent();
        }
      }
    }
  }