int (@Nullable SliceUsage object) { if (object == null) { return 0; } UsageInfo info = object.getUsageInfo(); TextRange range = info.getRangeInElement(); return range == null ? 0 : range.hashCode(); }