void (@NotNull AnActionEvent e, boolean state) { DiffPreview previewSplitter = ObjectUtils.chooseNotNull(mySplitterDiffPreview, myEditorDiffPreview); DiffPreview.setPreviewVisible(previewSplitter, state); myVcsConfiguration.SHELVE_DETAILS_PREVIEW_SHOWN = state; }