String (@NotNull LongRangeSet fullTypeRange) { fullTypeRange = modRange(fullTypeRange.min(), fullTypeRange.max(), myMod, myBits); String prefix = null; if (fullTypeRange.min() == myFrom) { prefix = fullTypeRange.max() == myTo ? "" : "<= " + LongRangeSet.formatNumber(myTo); } else if (fullTypeRange.max() == myTo) { prefix = ">= " + LongRangeSet.formatNumber(myFrom); } if (prefix != null) { if (prefix.isEmpty()) { return getSuffix(); } return InspectionsBundle.message("long.range.set.presentation.range.with.mod", prefix, getSuffix()); } String rangeMessage = InspectionsBundle.message("long.range.set.presentation.range", super.toString()); return InspectionsBundle.message("long.range.set.presentation.range.with.mod", rangeMessage, getSuffix()); }