void () { final Set<Object> hangByParent = new HashSet<>(); processUnsuccessfulSelections(newSelection, o -> { if (myUi.isInStructure(o) && !adjusted.get(o).value(o)) { hangByParent.add(o); } else { addAdjustedSelection(o, adjusted.get(o), null); } return null; }, originallySelected); processHangByParent(hangByParent).notify(result); }