static void fireState(@NotNull IdeaPluginDescriptor descriptor, boolean install) {
    UIUtil.invokeLaterIfNeeded(() -> {
      for (PluginStateListener listener : myStateListeners) {
        if (install) {
          listener.install(descriptor);
        }
        else {
          listener.uninstall(descriptor);
        }
      }
    });
  }
static void fireState(@NotNull IdeaPluginDescriptor descriptor, boolean install)