void (Project project, String vcsName, VcsConfiguration.StandardConfirmation op, VcsShowConfirmationOption.Value value) { ProjectLevelVcsManager vcsManager = ProjectLevelVcsManager.getInstance(project); AbstractVcs vcs = vcsManager.findVcsByName(vcsName); VcsShowConfirmationOption option = vcsManager.getStandardConfirmation(op, vcs); option.setValue(value); }