void (@NotNull MouseEvent e, @NotNull IdeEventQueue.BlockMode blockMode) { final JRootPane root = findRoot(e); if (root == null) return; myRootPaneToBlockedId.put(root, new BlockState(e.getID(), blockMode)); }