private static boolean rangeExpressionsAreEquivalent(@NotNull GrRangeExpression rangeExp1,
                                                       @NotNull GrRangeExpression rangeExp2) {
    return expressionsAreEquivalent(rangeExp1.getFrom(), rangeExp2.getFrom()) &&
           expressionsAreEquivalent(rangeExp1.getTo(), rangeExp2.getTo()) &&
           rangeExp1.getBoundaryType() == rangeExp2.getBoundaryType();
  }
private static boolean rangeExpressionsAreEquivalent(@NotNull GrRangeExpression rangeExp1,
                                                       @NotNull GrRangeExpression rangeExp2)