int (@NotNull CharSequence path) { CharSegment[] seq = myInterner.internParts(path, true); if (!mySeqToIdx.containsKey(seq)) { mySeqToIdx.put(seq, myIdxToSeq.size()); myIdxToSeq.add(new SegmentedCharSequence(seq)); } return mySeqToIdx.getInt(seq); }