public static void javaHelpOutputPrintStream(Stella_Object stream, Cons exps, boolean nativeWriterP, boolean endoflineP) {
    if (stream == Stella.SYM_STELLA_JAVA_STANDARD_OUT) {
      if ((Stella.string_getStellaClass("SYSTEM", false) != null) ||
          Stella.inheritedClassNameConflictsP("SYSTEM")) {
        ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.print("java.lang.System.out");
      }
      else {
        ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.print("System.out");
      }
    }
    else if (stream == Stella.SYM_STELLA_JAVA_STANDARD_ERROR) {
      if ((Stella.string_getStellaClass("SYSTEM", false) != null) ||
          Stella.inheritedClassNameConflictsP("SYSTEM")) {
        ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.print("java.lang.System.err");
      }
      else {
        ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.print("System.err");
      }
    }
    else {
      Stella_Object.javaOutputStatement(stream);
      if (!nativeWriterP) {
        ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.print(".nativeWriter");
      }
    }
    ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.print(((endoflineP ? ".println(" : ".print(")));
    Stella_Object.javaMaybeOutputStatementWithParentheses(exps.value);
    { Stella_Object e = null;
      Cons iter000 = exps.rest;

      for (;!(iter000 == Stella.NIL); iter000 = iter000.rest) {
        e = iter000.value;
        ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.print(" + ");
        Stella_Object.javaMaybeOutputStatementWithParentheses(e);
      }
    }
    ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.print(")");
  }