void (@NotNull AnActionEvent e) { myShowMerged = !myShowMerged; final AnnotationSource newSource = AnnotationSource.getInstance(myShowMerged); mySwitcher.switchTo(newSource); for (Consumer<AnnotationSource> listener : myListeners) { listener.accept(newSource); } AnnotateActionGroup.revalidateMarkupInAllEditors(); }