List<RunContentDescriptor> (@NotNull Project project, @NotNull RunnerAndConfigurationSettings selectedConfiguration) { ExecutionManagerImpl executionManager = ExecutionManagerImpl.getInstanceIfCreated(project); if (executionManager == null) return emptyList(); List<RunContentDescriptor> runningDescriptors = executionManager.getRunningDescriptors(s -> ExecutionManagerImplKt.isOfSameType(s, selectedConfiguration)); runningDescriptors = ContainerUtil.filter(runningDescriptors, descriptor -> executionManager.getExecutors(descriptor).contains(myExecutor)); return runningDescriptors; }