void (List<CommentRange> target, List<CommentRange> source) { List<CommentRange> merged = target.isEmpty() ? source : ContainerUtil.mergeSortedLists(target, source, CommentRange.BY_START_OFFSET_THEN_BY_END_OFFSET, true); target.clear(); target.addAll(merged); }