GutterIconRenderer (@NotNull @NlsContexts.Tooltip String text, @NotNull final Icon icon, @NotNull final Runnable perform) { final String tooltipText = DiffUtil.createTooltipText(text, null); return new DiffGutterRenderer(icon, tooltipText) { @Override protected void handleMouseClick() { perform.run(); } }; }