void (boolean active, @NotNull Inlay inlay) { boolean oldState = isHovered; isHovered = active; Cursor cursor = active ? Cursor.getPredefinedCursor(Cursor.HAND_CURSOR) : null; ((EditorEx)inlay.getEditor()).setCustomCursor(InlineDebugRenderer.class, cursor); if (oldState != active) { inlay.update(); } }