void (@NotNull VirtualFileSystemEntry child) { CharSequence childName = child.getNameSequence(); boolean isCaseSensitive = isCaseSensitive(); synchronized (myData) { myData.removeAdoptedName(childName); int indexInReal = findIndex(myData.myChildrenIds, childName, isCaseSensitive); if (indexInReal < 0) { int i = -indexInReal - 1; int id = child.getId(); assert id > 0 : child + ": " + id; myData.myChildrenIds = ArrayUtil.insert(myData.myChildrenIds, i, id); } // else already stored assertConsistency(isCaseSensitive, child, "indexInReal", indexInReal, isCaseSensitive); } }