public static boolean intersectsOneOf(TextRange range, List<? extends TextRange> rangeList) {
    return rangesContain(rangeList, range.getStartOffset()) || rangesContain(rangeList, range.getEndOffset());
  }
public static boolean intersectsOneOf(TextRange range, List<? extends TextRange> rangeList)