Navigatable (@NotNull DefaultMutableTreeNode node) { HierarchyNodeDescriptor descriptor = getDescriptor(node); if (descriptor != null) { PsiElement psiElement = getOpenFileElementFromDescriptor(descriptor); if (psiElement != null && psiElement.isValid()) { return new PsiElementNavigatable(psiElement); } } return null; }