void (Inlay inlay, @NotNull EditorMouseEvent event) { int x = event.getMouseEvent().getX(); boolean isRemoveIconClick = myCustomNode && x >= myRemoveXCoordinate; if (isRemoveIconClick) { XDebugSessionTab tab = ((XDebugSessionImpl)mySession).getSessionTab(); if (tab != null) { tab.getWatchesView().removeWatches(Collections.singletonList(myValueNode)); } inlay.update(); } else if (x >= myTextStartXCoordinate) { handleClick(inlay); } }