void (@NotNull Project project, @NotNull Disposable disposable) { ApplicationManager.getApplication().getMessageBus() .connect(disposable) .subscribe(AdvancedSettingsChangeListener.TOPIC, new AdvancedSettingsChangeListener() { @Override public void advancedSettingChanged(@NotNull String id, @NotNull Object oldValue, @NotNull Object newValue) { if (id.equals(GitFileUtils.READ_CONTENT_WITH)) { ProjectLevelVcsManager.getInstance(project).getContentRevisionCache().clearConstantCache(); } } }); }