void () { if (mySpeedSearch.isPopupActive()) { Set<U> acceptCache = createUserObjectSet(); computeAcceptCache(myRootObject, acceptCache); filterChildren(myRootObject, x -> acceptCache.contains(x)); } else { filterChildren(myRootObject, x -> true); } }