private @NotNull ChildInfo makeChildRecord(@NotNull VirtualFile parentFile,
                                             int parentId,
                                             @NotNull CharSequence name,
                                             @NotNull Pair<@NotNull FileAttributes, String> childData,
                                             @NotNull NewVirtualFileSystem fs,
                                             @NotNull ChildInfo @Nullable [] children) {
    FileAttributes attributes = childData.first;

    int childId = vfsPeer.createRecord();
    int nameId = writeRecordFields(childId, parentId, name, attributes);

    if (attributes.isDirectory()) {
      FSRecords.loadDirectoryData(childId, parentFile, name, fs);
    }
    return new ChildInfoImpl(childId, nameId, attributes, children, childData.second);
  }
private @NotNull ChildInfo makeChildRecord(@NotNull VirtualFile parentFile,
                                             int parentId,
                                             @NotNull CharSequence name,
                                             @NotNull Pair<@NotNull FileAttributes, String> childData,
                                             @NotNull NewVirtualFileSystem fs,
                                             @NotNull ChildInfo @Nullable [] children)