public static void idlTranslateClassToStream(Stella_Class renamed_Class, PrintableStringWriter nativeStream) {
    { TranslationUnit self000 = TranslationUnit.newTranslationUnit();

      self000.theObject = renamed_Class;
      { TranslationUnit tempunit = self000;

        { Object old$CurrentStream$000 = Stella.$CURRENT_STREAM$.get();

          try {
            Native.setSpecial(Stella.$CURRENT_STREAM$, null);
            { OutputStream self001 = OutputStream.newOutputStream();

              self001.nativeStream = nativeStream;
              Native.setSpecial(Stella.$CURRENT_STREAM$, self001);
            }
            Stella_Object.idlOutputStatement(TranslationUnit.idlTranslateDefineNativeClassUnit(tempunit));

          } finally {
            Stella.$CURRENT_STREAM$.set(old$CurrentStream$000);
          }
        }
      }
    }
  }