@ApiStatus.Internal
  public static @NotNull List<RunContentDescriptor> getActiveStoppableDescriptors(@Nullable Project project) {
    List<RunContentDescriptor> runningProcesses = project != null ?
                                                  ContainerUtil.map(getStoppableDescriptors(project), kotlin.Pair::getFirst) :
                                                  Collections.emptyList();
    if (runningProcesses.isEmpty()) {
      return Collections.emptyList();
    }

    List<RunContentDescriptor> activeDescriptors = new SmartList<>();
    for (RunContentDescriptor descriptor : runningProcesses) {
      if (canBeStopped(descriptor)) {
        activeDescriptors.add(descriptor);
      }
    }
    return activeDescriptors;
  }
@ApiStatus.Internal
  public static @NotNull List<RunContentDescriptor> getActiveStoppableDescriptors(@Nullable Project project)