@Override
    public <T> void setNull(@NotNull DataKey<T> key) {
      if (key == PlatformCoreDataKeys.CONTEXT_COMPONENT ||
          key == PlatformCoreDataKeys.IS_MODAL_CONTEXT ||
          key == PlatformDataKeys.MODALITY_STATE) {
        return;
      }
      if (map == null) map = new ProviderData();
      map.uiSnapshot.put(key.getName(), EXPLICIT_NULL);
    }
@Override
    public <T> void setNull(@NotNull DataKey<T> key)