public static int computeRecycledItemSize(Stella_Class renamed_Class) {
    { int size = Stella.NULL_INTEGER;

      if (renamed_Class != null) {
        if (((Keyword)(Stella.$TRANSLATOROUTPUTLANGUAGE$.get())) == Stella.KWD_COMMON_LISP) {
          if (((List)(Stella.$CURRENT_STELLA_FEATURES$.get())).membP(Stella.KWD_USE_COMMON_LISP_STRUCTS) ||
              ((List)(Stella.$CURRENT_STELLA_FEATURES$.get())).membP(Stella.KWD_USE_COMMON_LISP_VECTOR_STRUCTS)) {
            size = 4;
          }
          else {
            size = 10;
          }
        }
        else if (((Keyword)(Stella.$TRANSLATOROUTPUTLANGUAGE$.get())) == Stella.KWD_CPP) {
          size = 1;
        }
        else if (((Keyword)(Stella.$TRANSLATOROUTPUTLANGUAGE$.get())) == Stella.KWD_JAVA) {
          size = 2;
        }
        else {
          { OutputStringStream stream000 = OutputStringStream.newOutputStringStream();

            stream000.nativeStream.print("`" + ((Keyword)(Stella.$TRANSLATOROUTPUTLANGUAGE$.get())) + "' is not a valid case option");
            throw ((StellaException)(StellaException.newStellaException(stream000.theStringReader()).fillInStackTrace()));
          }
        }
        { Slot slot = null;
          Iterator iter000 = renamed_Class.classSlots();

          while (iter000.nextP()) {
            slot = ((Slot)(iter000.value));
            if (Stella_Object.storageSlotP(slot) &&
                (StorageSlot.nativeSlotP(((StorageSlot)(slot))) &&
                 (!((slot.slotDirectEquivalent != null) &&
                StorageSlot.nativeSlotP(((StorageSlot)(slot.slotDirectEquivalent))))))) {
              size = size + 1;
            }
          }
        }
        if (Stella_Class.useFreeListP(renamed_Class) &&
            (Stella_Class.recycleSlot(renamed_Class) == null)) {
          size = size + 2;
        }
      }
      return (size);
    }
  }