void () { TreeSpeedSearch.installOn(this, false, path -> { final DefaultMutableTreeNode component = (DefaultMutableTreeNode)path.getLastPathComponent(); final Object userObject = component.getUserObject(); if (userObject instanceof CoverageSuite) { return ((CoverageSuite)userObject).getPresentableName(); } return userObject.toString(); }); }