public void install(@Nullable List<ApplyPatchChange> changes,
                        @NotNull FoldingModelSupport.Settings settings) {
      //noinspection ConstantConditions
      Iterator<int[]> it = map(changes, fragment -> new int[]{
        fragment.getResultRange().start,
        fragment.getResultRange().end
      });
      install(it, null, settings);
    }
public void install(@Nullable List<ApplyPatchChange> changes,
                        @NotNull FoldingModelSupport.Settings settings)