void (@NotNull JComponent runConfigurationEditorComponent, Project project, @NotNull Artifact artifact, boolean enable) { BeforeRunTaskProvider<BuildArtifactsBeforeRunTask> provider = getProvider(project, ID); if (provider != null) { ((BuildArtifactsBeforeRunTaskProvider)provider).setBuildArtifactBeforeRunOption(runConfigurationEditorComponent, artifact, enable); } }