void (@NotNull AnActionEvent e) { TreePath[] paths = getSelectionPaths(); if (paths != null) { for (TreePath path : paths) { Object component = path.getLastPathComponent(); if (component instanceof XDebuggerTreeNode) { XDebuggerTreeNodeHyperlink link = ((XDebuggerTreeNode)component).getLink(); if (link != null) { // dummy event link.onClick(dummyMouseClickEvent()); } } } } }