public static Cons getClassOptions() {
    { Cons result = Stella.NIL;

      { StorageSlot slot = null;
        Iterator iter000 = Stella_Class.privateClassStorageSlots(((Stella_Class)(Stella.SGT_STELLA_CLASS.surrogateValue)));
        Cons collect000 = null;

        while (iter000.nextP()) {
          slot = ((StorageSlot)(iter000.value));
          if (((Keyword)(KeyValueList.dynamicSlotValue(slot.dynamicSlots, Stella.SYM_STELLA_SLOT_OPTION_KEYWORD, null))) != null) {
            if (collect000 == null) {
              {
                collect000 = Cons.cons(slot, Stella.NIL);
                if (result == Stella.NIL) {
                  result = collect000;
                }
                else {
                  Cons.addConsToEndOfConsList(result, collect000);
                }
              }
            }
            else {
              {
                collect000.rest = Cons.cons(slot, Stella.NIL);
                collect000 = collect000.rest;
              }
            }
          }
        }
      }
      { StorageSlot slot = null;
        Iterator iter001 = Stella_Class.publicClassStorageSlots(((Stella_Class)(Stella.SGT_STELLA_CLASS.surrogateValue)));
        Cons collect001 = null;

        while (iter001.nextP()) {
          slot = ((StorageSlot)(iter001.value));
          if (((Keyword)(KeyValueList.dynamicSlotValue(slot.dynamicSlots, Stella.SYM_STELLA_SLOT_OPTION_KEYWORD, null))) != null) {
            if (collect001 == null) {
              {
                collect001 = Cons.cons(slot, Stella.NIL);
                if (result == Stella.NIL) {
                  result = collect001;
                }
                else {
                  Cons.addConsToEndOfConsList(result, collect001);
                }
              }
            }
            else {
              {
                collect001.rest = Cons.cons(slot, Stella.NIL);
                collect001 = collect001.rest;
              }
            }
          }
        }
      }
      { StorageSlot slot = null;
        Iterator iter002 = Stella_Class.privateClassStorageSlots(((Stella_Class)(Stella.SGT_STELLA_RELATION.surrogateValue)));
        Cons collect002 = null;

        while (iter002.nextP()) {
          slot = ((StorageSlot)(iter002.value));
          if (((Keyword)(KeyValueList.dynamicSlotValue(slot.dynamicSlots, Stella.SYM_STELLA_SLOT_OPTION_KEYWORD, null))) != null) {
            if (collect002 == null) {
              {
                collect002 = Cons.cons(slot, Stella.NIL);
                if (result == Stella.NIL) {
                  result = collect002;
                }
                else {
                  Cons.addConsToEndOfConsList(result, collect002);
                }
              }
            }
            else {
              {
                collect002.rest = Cons.cons(slot, Stella.NIL);
                collect002 = collect002.rest;
              }
            }
          }
        }
      }
      { StorageSlot slot = null;
        Iterator iter003 = Stella_Class.publicClassStorageSlots(((Stella_Class)(Stella.SGT_STELLA_RELATION.surrogateValue)));
        Cons collect003 = null;

        while (iter003.nextP()) {
          slot = ((StorageSlot)(iter003.value));
          if (((Keyword)(KeyValueList.dynamicSlotValue(slot.dynamicSlots, Stella.SYM_STELLA_SLOT_OPTION_KEYWORD, null))) != null) {
            if (collect003 == null) {
              {
                collect003 = Cons.cons(slot, Stella.NIL);
                if (result == Stella.NIL) {
                  result = collect003;
                }
                else {
                  Cons.addConsToEndOfConsList(result, collect003);
                }
              }
            }
            else {
              {
                collect003.rest = Cons.cons(slot, Stella.NIL);
                collect003 = collect003.rest;
              }
            }
          }
        }
      }
      return (result);
    }
  }