public static void setLocalVariableInfo(Symbol variable, Keyword key, Stella_Object info) {
    { StandardObject entry = ((StandardObject)(KeyValueList.lookupVariableTable(((KeyValueList)(Stella.$LOCALVARIABLETYPETABLE$.get())), variable)));

      if (entry != null) {
        if (Surrogate.subtypeOfP(Stella_Object.safePrimaryType(entry), Stella.SGT_STELLA_KEY_VALUE_LIST)) {
          { KeyValueList entry000 = ((KeyValueList)(entry));

            entry000.insertAt(key, info);
          }
        }
        else {
          { KeyValueList variableinfo = KeyValueList.newKeyValueList();

            variableinfo.insertAt(key, info);
            variableinfo.insertAt(Stella.KWD_TYPE, entry);
            KeyValueList.insertAtVariableTable(((KeyValueList)(Stella.$LOCALVARIABLETYPETABLE$.get())), variable, variableinfo);
          }
        }
      }
    }
  }