registerInterpretedForNative static method

void registerInterpretedForNative(
  1. Object nativeObject,
  2. Object interpretedInstance
)

Records that nativeObject is the bridged-super of interpretedInstance. No-op for keys an Expando refuses (numbers, strings, booleans, records).

Implementation

static void registerInterpretedForNative(
  Object nativeObject,
  Object interpretedInstance,
) {
  if (!_canKey(nativeObject)) return;
  _nativeToInterpreted[nativeObject] = interpretedInstance;
  _nativeRegistrationCount++;
}