void (@NotNull OnesideTextDiffViewer viewer, @NotNull Side side, @NotNull AnnotationData data) { if (side != viewer.getSide()) return; Project project = Objects.requireNonNull(viewer.getProject()); AnnotateToggleAction.doAnnotate(viewer.getEditor(), project, data.annotation, data.vcs); }