public boolean intersects(@NotNull Fragment other) {
      return Math.max(offset, other.offset) <= Math.min(offset + newLength, other.offset + other.oldLength);
    }
public boolean intersects(@NotNull Fragment other)