void () { TreeSpeedSearch.installOn(this, false, path -> { Object pathComponent = path.getLastPathComponent(); if (pathComponent instanceof RepositoryNode) { return ((RepositoryNode)pathComponent).getRepositoryName(); } return pathComponent.toString(); }); }