void (@NotNull Project project, @NotNull Editor editor, @NotNull Object breakpoint, @NotNull GutterIconRenderer breakpointGutterRenderer) { if (BreakpointsDialogFactory.getInstance(project).popupRequested(breakpoint)) { return; } EditorGutterComponentEx gutterComponent = ((EditorEx)editor).getGutterComponentEx(); Point point = gutterComponent.getCenterPoint(breakpointGutterRenderer); if (point == null) { // disabled gutter icons for example point = new Point(gutterComponent.getWidth(), editor.visualPositionToXY(editor.getCaretModel().getVisualPosition()).y + editor.getLineHeight() / 2); } doShowPopup(project, gutterComponent, point, breakpoint); }