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

  public voi
dChild(@NotNull VirtualFileSystemEntry child) {
    CharSeq