public void describeObject(OutputStream stream, Keyword mode) {
    { StorageSlot self = this;

      if (mode == Stella.KWD_SOURCE) {
        stream.nativeStream.println("TERSE mode:");
        self.describeObject(stream, Stella.KWD_TERSE);
      }
      else if (mode == Stella.KWD_TERSE) {
        Stella_Object.describeTersely(self, stream);
      }
      else if (mode == Stella.KWD_VERBOSE) {
        Cons.prettyPrintDefinitionTree(Cons.list$(Cons.cons(Stella.SYM_STELLA_SLOT, Cons.cons(self.slotName, Cons.cons(Cons.list$(Cons.cons(Stella.KWD_OWNER, Cons.cons(StringWrapper.wrapString(self.slotOwner.symbolName), Cons.cons(Cons.list$(Cons.cons(Stella.KWD_TYPE, Cons.cons(self.slotBaseType, Cons.cons(Cons.list$(Cons.cons(Stella.KWD_INITIALLY, Cons.cons(KeyValueList.dynamicSlotValue(self.dynamicSlots, Stella.SYM_STELLA_SLOT_INITIAL_VALUE, null), Cons.cons(Stella.NIL, Stella.NIL)))), Stella.NIL)))), Stella.NIL)))), Stella.NIL)))), stream);
      }
      else {
        { OutputStringStream stream000 = OutputStringStream.newOutputStringStream();

          stream000.nativeStream.print("`" + mode + "' is not a valid case option");
          throw ((StellaException)(StellaException.newStellaException(stream000.theStringReader()).fillInStackTrace()));
        }
      }
    }
  }