private List<RunContentDescriptor> getConfigurationDescriptors(@NotNull RunConfiguration configuration) {
    ExecutionManager instance = ExecutionManager.getInstance(myProject);
    if (!(instance instanceof ExecutionManagerImpl)) {
      return Collections.emptyList();
    }
    return ((ExecutionManagerImpl)instance).getDescriptors(s -> configuration.equals(s.getConfiguration()) ||
                                                                configuration.equals(getBaseConfiguration(s.getConfiguration())));
  }
private List<RunContentDescriptor> getConfigurationDescriptors(@NotNull RunConfiguration configuration)