void (SMTestProxy newSuite, boolean preferSuite) { if (myTreeBuildBeforeStart) { for (SMTestProxy proxy : newSuite.getChildren()) { if (!proxy.isFinal() || preferSuite && proxy.isSuite()) { String url = proxy.getLocationUrl(); if (url != null) { myCurrentChildren.computeIfAbsent(url, l -> new ArrayList<>()).add(proxy); } myCurrentChildren.computeIfAbsent(proxy.getName(), l -> new ArrayList<>()).add(proxy); } } } }