public static @Nullable Collection<IdeaPluginDescriptor> getUpdates() {
    synchronized (ourLock) {
      if (!ourPrepared || ourPreparing) {
        return null;
      }
      final var filteredUpdates = getFilteredUpdateResult();
      return filteredUpdates == null ? null : ContainerUtil.map(filteredUpdates.getPluginUpdates().getAll(), PluginDownloader::getDescriptor);
    }
  }
public static @Nullable Collection<IdeaPluginDescriptor> getUpdates()