public static void idlOutputStruct(Cons classdef) {
    if (Stella.idlOutputTemplateClassesP()) {
      Cons.idlOutputTemplateParameters(((Cons)(classdef.rest.value)));
    }
    ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.print("struct " + ((StringWrapper)(classdef.value)).wrapperValue + " ");
    if (!(((Cons)(classdef.rest.rest.value)) == Stella.NIL)) {
      ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.print(": ");
      Cons.idlOutputDerivedClasses(((Cons)(classdef.rest.rest.value)));
    }
    ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.println("{");
    { Stella_Object statement = null;
      Cons iter000 = classdef.nthRest(4);

      for (;!(iter000 == Stella.NIL); iter000 = iter000.rest) {
        statement = iter000.value;
        Stella_Object.idlOutputStatement(statement);
      }
    }
    {
      ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.println("};");
      ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.println();
    }
;
  }