boolean (@NotNull Project project, @NotNull Executor executor, RunConfiguration configuration) { List<SettingsAndEffectiveTarget> pairs; if (configuration instanceof CompoundRunConfiguration) { pairs = ((CompoundRunConfiguration)configuration).getConfigurationsWithEffectiveRunTargets(); } else { ExecutionTarget target = ExecutionTargetManager.getActiveTarget(project); pairs = Collections.singletonList(new SettingsAndEffectiveTarget(configuration, target)); } return canRun(project, pairs, executor); }