ExecutionEnvironment (@NotNull Project project, @NotNull ExecuteRunConfigurationTask task, @Nullable Executor executor) { for (MavenExecutionEnvironmentProvider environmentProvider : MavenExecutionEnvironmentProvider.EP_NAME.getExtensions()) { if (environmentProvider.isApplicable(task)) { return environmentProvider.createExecutionEnvironment(project, task, executor); } } return null; }