void (@NotNull GroovyFile file, @NotNull GroovyScriptRunConfiguration configuration, Location location) { String target = getTargetName(location); if (target != null) { configuration.setProgramParameters(target); configuration.setName(configuration.getName() + "." + target); } RunManagerEx.disableTasks(file.getProject(), configuration, CompileStepBeforeRun.ID, CompileStepBeforeRunNoErrorCheck.ID); }