public static Stella_Object stringToSlot(String string) {
    if (Stella.dottedStringP(string)) {
      { String classstring = null;
        String slotstring = null;

        { Object [] caller_MV_returnarray = new Object[1];

          classstring = Stella.yieldExplodedMethodName(string, caller_MV_returnarray);
          slotstring = ((String)(((StringWrapper)(caller_MV_returnarray[0])).wrapperValue));
        }
        { Stella_Class renamed_Class = Stella.string_getStellaClass(classstring, false);
          Symbol slotname = null;

          if (renamed_Class != null) {
            slotname = Symbol.lookupSymbol(slotstring);
            if (slotname != null) {
              return (Stella_Class.lookupSlot(renamed_Class, slotname));
            }
          }
        }
      }
    }
    else {
      { Symbol symbol = Symbol.lookupSymbol(string);

        if (symbol != null) {
          return (Symbol.lookupFunction(symbol));
        }
      }
    }
    return (null);
  }