private boolean canRun(@Nullable RunnerAndConfigurationSettings settings, Executor executor) {
    return settings != null && ExecutorRegistryImpl.RunnerHelper.canRun(myProject, executor, settings.getConfiguration());
  }
private boolean canRun(@Nullable RunnerAndConfigurationSettings settings, Executor executor)