public void onPluginUninstall(@NotNull IdeaPluginDescriptor descriptor,
                                boolean isDynamicallyUnloadable) {
    PluginId id = descriptor.getPluginId();
    if (isDynamicallyUnloadable) {
      synchronized (myLock) {
        myUninstalledWithoutRestartPlugins.add(id);
      }
    }
    PluginManagerUsageCollector.pluginRemoved(id);
  }
public void onPluginUninstall(@NotNull IdeaPluginDescriptor descriptor,
                                boolean isDynamicallyUnloadable)