List<SliceNode> () { final List<SliceNode> children = new ArrayList<>(); final ProgressIndicator progress = ProgressManager.getInstance().getProgressIndicator(); Processor<SliceUsage> processor = sliceUsage -> { progress.checkCanceled(); SliceNode node = new SliceNode(myProject, sliceUsage, targetEqualUsages); synchronized (children) { node.index = children.size(); children.add(node); } return true; }; ApplicationManagerEx.getApplicationEx().executeByImpatientReader(() -> getValue().processChildren(processor)); return children; }