@Override
  public void selectUsages(Usage @NotNull [] usages) {
    ThreadingAssertions.assertEventDispatchThread();
    TreePath[] paths = usagesToNodes(Arrays.stream(usages))
      .map(node -> new TreePath(node.getPath()))
      .toArray(TreePath[]::new);

    myTree.setSelectionPaths(paths);
    if (paths.length != 0) myTree.scrollPathToVisible(paths[0]);
  }
@Override
  public void selectUsages(Usage @NotNull [] usages)