public static Surrogate getCurrentSelfType() {
    { MethodSlot method = ((MethodSlot)(Stella.$METHODBEINGWALKED$.get()));
      Surrogate owner = Stella.SGT_STELLA_UNKNOWN;

      if (method != null) {
        owner = method.owner();
        if (owner == null) {
          if (((BooleanWrapper)(KeyValueList.dynamicSlotValue(method.dynamicSlots, Stella.SYM_STELLA_METHOD_CONSTRUCTORp, Stella.FALSE_WRAPPER))).wrapperValue) {
            owner = method.slotBaseType;
          }
          else {
            owner = Stella.SGT_STELLA_UNKNOWN;
          }
        }
      }
      return (owner);
    }
  }