<BUG>JLayeredPane layeredPane = myParentEditor.getContentComponent().getRootPane().getLayeredPane();LogicalPosition logicalPosition = myParentEditor.getCaretModel().getLogicalPosition();</BUG><CONTEXT>EditorFactory.getInstance().releaseEditor(myEditor);}}@NotNullprivate Pair<Point, Short> guessPosition() {<extra_id_0>LogicalPosition pos = new LogicalPosition(logicalPosition.line, logicalPosition.column);Point p1 = HintManagerImpl.getHintPosition(this, myParentEditor, pos, HintManager.UNDER);</CONTEXT>
JRootPane rootPane = myParentEditor.getContentComponent().getRootPane();JComponent layeredPane = rootPane != null ? rootPane.getLayeredPane() : myParentEditor.getComponent();LogicalPosition logicalPosition = myParentEditor.getCaretModel().getLogicalPosition();