public static void assertProperRange(@NotNull Segment range, @NotNull Object message) throws AssertionError {
    assertProperRange(range.getStartOffset(), range.getEndOffset(), message);
  }
public static void assertProperRange(@NotNull Segment range, @NotNull Object message)