private @NotNull TextRange notNullize(@Nullable TextRange range) {
    return range == null ? new TextRange(myStartOffset, myEndOffset) : range;
  }
private @NotNull TextRange notNullize(@Nullable TextRange range)