void (final @NotNull ProgressIndicator indicator) { NullAnalysisResult leaves = calcNullableLeaves(root, treeStructure, map); SliceRootNode newRoot = ReadAction.compute(() -> createNewTree(leaves, root, map)); newRootRef.set(newRoot); }