public static DebuggerTreeNodeImpl @Nullable [] getSelectedNodes(DataContext dataContext) {
    DebuggerTree tree = getTree(dataContext);
    if (tree == null) return null;
    TreePath[] paths = tree.getSelectionPaths();
    if (paths == null || paths.length == 0) {
      return Holder.EMPTY_TREE_NODE_ARRAY;
    }
    List<DebuggerTreeNodeImpl> nodes = new ArrayList<>(paths.length);
    for (TreePath path : paths) {
      Object component = path.getLastPathComponent();
      if (component instanceof DebuggerTreeNodeImpl) {
        nodes.add((DebuggerTreeNodeImpl)component);
      }
    }
    return nodes.toArray(new DebuggerTreeNodeImpl[0]);
  }
public static DebuggerTreeNodeImpl @Nullable [] getSelectedNodes(DataContext dataContext)