void (final MouseEvent e) { super.processMouseMotionEvent(e); if (getLayoutPolicy() != AUTO_LAYOUT_POLICY) { return; } if (myAutoPopupRec != null && myAutoPopupRec.contains(e.getPoint())) { IdeFocusManager.getInstance(null).doWhenFocusSettlesDown(this::showAutoPopup); } }