ProgramRunner<RunnerSettings> (@NotNull String executorId, @NotNull RunProfile settings) { //noinspection unchecked return (ProgramRunner<RunnerSettings>)PROGRAM_RUNNER_EP.findFirstSafe(it -> it.canRun(executorId, settings)); }