override fun relabel()

in sdkcompat/gen/org/jetbrains/bazel/sdkcompat/workspacemodel/entities/impl/BazelProjectDirectoriesEntityImpl.kt [145:154]


    override fun relabel(dataSource: WorkspaceEntity, parents: Set<WorkspaceEntity>?) {
      dataSource as BazelProjectDirectoriesEntity
      if (this.entitySource != dataSource.entitySource) this.entitySource = dataSource.entitySource
      if (this.projectRoot != dataSource.projectRoot) this.projectRoot = dataSource.projectRoot
      if (this.includedRoots != dataSource.includedRoots) this.includedRoots = dataSource.includedRoots.toMutableList()
      if (this.excludedRoots != dataSource.excludedRoots) this.excludedRoots = dataSource.excludedRoots.toMutableList()
      if (this.indexAllFilesInIncludedRoots != dataSource.indexAllFilesInIncludedRoots) this.indexAllFilesInIncludedRoots = dataSource.indexAllFilesInIncludedRoots
      if (this.indexAdditionalFiles != dataSource.indexAdditionalFiles) this.indexAdditionalFiles = dataSource.indexAdditionalFiles.toMutableList()
      updateChildToParentReferences(parents)
    }