RangeData (@NotNull PsiModifierListOwner owner) { LongRangeSet existingRange = JvmPsiRangeSetUtil.fromPsiElement(owner); LongRangeSet fromType = rangeFromType(owner); assert fromType != null; return new RangeData(fromType, existingRange.min() > fromType.min() ? String.valueOf(existingRange.min()) : "", existingRange.max() < fromType.max() ? String.valueOf(existingRange.max()) : ""); }