mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[workspace model] IJPL-895 Stabilization of entity generation in tests
- Regenerate Workspace Model code for the whole IntelliJ - IJPL-177108 change properties order in ModuleSettingsFacetBridgeEntity (API breakage for BSP) - IJPL-14740 Run the test for the whole module, not for each package in the module - do not include entity source inheritors from other modules - generator tests: Refactor IntelliJ generation test, fix missing libraries for various modules, ignore workspace.storage.testEntities, add code generator tests for packages, open classes - treat open classes as abstract in K2, fix package for kotlin.ByteArray in K2 MetadataBuilder - sort enum entries in metadata and fix cache test - fix and move WorkspaceModelJsonDumpTest - fix IntelliJ Workspace Code Update action (use K1) - do not exclude node_modules dir in javascript plugin in tests Merge-request: IJ-MR-155397 Merged-by: Kirill Bochkarev <kirill.bochkarev@jetbrains.com> GitOrigin-RevId: 861f59ad002a63d493824318dff73d5483c31e60
This commit is contained in:
committed by
intellij-monorepo-bot
parent
9143737f78
commit
d7a87d3f03
+4
-2
@@ -1,12 +1,14 @@
|
||||
package com.intellij.compiler.artifacts.propertybased
|
||||
package com.intellij.compiler.artifacts.propertybased.impl
|
||||
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntityInternalApi
|
||||
import com.intellij.platform.workspace.storage.metadata.impl.MetadataStorageBase
|
||||
import com.intellij.platform.workspace.storage.metadata.model.FinalClassMetadata
|
||||
import com.intellij.platform.workspace.storage.metadata.model.OwnPropertyMetadata
|
||||
import com.intellij.platform.workspace.storage.metadata.model.StorageTypeMetadata
|
||||
import com.intellij.platform.workspace.storage.metadata.model.ValueTypeMetadata
|
||||
|
||||
object MetadataStorageImpl: MetadataStorageBase() {
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal object MetadataStorageImpl: MetadataStorageBase() {
|
||||
override fun initializeMetadata() {
|
||||
|
||||
var typeMetadata: StorageTypeMetadata
|
||||
+4
-2
@@ -1,12 +1,14 @@
|
||||
package com.intellij.compiler.artifacts.workspaceModel
|
||||
package com.intellij.compiler.artifacts.workspaceModel.impl
|
||||
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntityInternalApi
|
||||
import com.intellij.platform.workspace.storage.metadata.impl.MetadataStorageBase
|
||||
import com.intellij.platform.workspace.storage.metadata.model.FinalClassMetadata
|
||||
import com.intellij.platform.workspace.storage.metadata.model.OwnPropertyMetadata
|
||||
import com.intellij.platform.workspace.storage.metadata.model.StorageTypeMetadata
|
||||
import com.intellij.platform.workspace.storage.metadata.model.ValueTypeMetadata
|
||||
|
||||
object MetadataStorageImpl: MetadataStorageBase() {
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal object MetadataStorageImpl: MetadataStorageBase() {
|
||||
override fun initializeMetadata() {
|
||||
|
||||
var typeMetadata: StorageTypeMetadata
|
||||
+28
-28
@@ -1,4 +1,3 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.java.configurationStore.impl
|
||||
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntityInternalApi
|
||||
@@ -14,50 +13,51 @@ internal object MetadataStorageImpl: MetadataStorageBase() {
|
||||
override fun initializeMetadata() {
|
||||
val primitiveTypeIntNotNullable = ValueTypeMetadata.SimpleType.PrimitiveType(isNullable = false, type = "Int")
|
||||
val primitiveTypeStringNotNullable = ValueTypeMetadata.SimpleType.PrimitiveType(isNullable = false, type = "String")
|
||||
|
||||
|
||||
var typeMetadata: StorageTypeMetadata
|
||||
|
||||
typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.java.configurationStore.SampleDummyParentCustomModuleEntitySource", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "internalSource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = ExtendableClassMetadata.AbstractClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsFileEntitySource", subclasses = listOf(FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectFileEntitySource\$FileInDirectory", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "fileNameId", valueType = primitiveTypeIntNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "virtualFileUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "directory", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectLocation", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation")), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.JpsProjectFileEntitySource",
|
||||
"com.intellij.platform.workspace.jps.JpsFileEntitySource",
|
||||
|
||||
typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.java.configurationStore.SampleDummyParentCustomModuleEntitySource", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "internalSource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = ExtendableClassMetadata.AbstractClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsFileEntitySource", subclasses = listOf(FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectFileEntitySource\$FileInDirectory", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "directory", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "fileNameId", valueType = primitiveTypeIntNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectLocation", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "virtualFileUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.JpsFileEntitySource",
|
||||
"com.intellij.platform.workspace.jps.JpsProjectFileEntitySource",
|
||||
"com.intellij.platform.workspace.storage.EntitySource")),
|
||||
FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsGlobalFileEntitySource", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "file", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "virtualFileUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = true, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.JpsFileEntitySource",
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "virtualFileUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = true, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.GlobalStorageEntitySource",
|
||||
"com.intellij.platform.workspace.jps.JpsFileEntitySource",
|
||||
"com.intellij.platform.workspace.storage.EntitySource")),
|
||||
FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectFileEntitySource\$ExactFile", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "virtualFileUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "file", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectFileEntitySource\$ExactFile", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "file", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectLocation", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = ExtendableClassMetadata.AbstractClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation", subclasses = listOf(FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation\$DirectoryBased", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "baseDirectoryUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectFilePath", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectDir", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "baseDirectoryUrlString", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "ideaFolder", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "baseDirectoryUrlString", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.JpsProjectConfigLocation")),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectDir", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectFilePath", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.JpsProjectConfigLocation")),
|
||||
FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation\$FileBased", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "baseDirectoryUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectFilePath", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "baseDirectoryUrlString", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "iprFile", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "iprFileParent", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "baseDirectoryUrlString", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.JpsProjectConfigLocation"))), supertypes = listOf())), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.JpsProjectFileEntitySource",
|
||||
"com.intellij.platform.workspace.jps.JpsFileEntitySource",
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectFilePath", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.JpsProjectConfigLocation"))), supertypes = listOf())), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "virtualFileUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.JpsFileEntitySource",
|
||||
"com.intellij.platform.workspace.jps.JpsProjectFileEntitySource",
|
||||
"com.intellij.platform.workspace.storage.EntitySource"))), supertypes = listOf("com.intellij.platform.workspace.storage.EntitySource"))), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "virtualFileUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = true, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.CustomModuleEntitySource",
|
||||
"com.intellij.platform.workspace.storage.DummyParentEntitySource",
|
||||
"com.intellij.platform.workspace.storage.EntitySource"))
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
}
|
||||
|
||||
override fun initializeMetadataHash() {
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.storage.EntitySource", metadataHash = 348424994)
|
||||
addMetadataHash(typeFqn = "com.intellij.java.configurationStore.SampleDummyParentCustomModuleEntitySource", metadataHash = -1785529430)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.JpsFileEntitySource", metadataHash = -1709137196)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.JpsGlobalFileEntitySource", metadataHash = -1063074881)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.JpsProjectFileEntitySource", metadataHash = -182040200)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.JpsProjectFileEntitySource\$ExactFile", metadataHash = 1636464627)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation", metadataHash = 153096835)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation\$DirectoryBased", metadataHash = -1619672141)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation\$FileBased", metadataHash = 656180261)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.JpsProjectFileEntitySource\$FileInDirectory", metadataHash = -292490736)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.storage.EntitySource", metadataHash = 1833327951)
|
||||
addMetadataHash(typeFqn = "com.intellij.java.configurationStore.SampleDummyParentCustomModuleEntitySource", metadataHash = -462346181)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.JpsFileEntitySource", metadataHash = 1441310205)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.JpsGlobalFileEntitySource", metadataHash = -29934016)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.JpsProjectFileEntitySource", metadataHash = -1393975338)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.JpsProjectFileEntitySource\$ExactFile", metadataHash = -835143991)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation", metadataHash = -1739374703)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation\$DirectoryBased", metadataHash = 1161787715)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation\$FileBased", metadataHash = -2127607065)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.JpsProjectFileEntitySource\$FileInDirectory", metadataHash = -1436516072)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
+12
-15
@@ -1,29 +1,23 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
@file:ApiStatus.Internal
|
||||
package com.intellij.openapi.externalSystem.settings.workspaceModel.impl
|
||||
|
||||
import com.intellij.openapi.externalSystem.settings.workspaceModel.ExternalProjectBuildClasspathEntity
|
||||
import com.intellij.openapi.externalSystem.settings.workspaceModel.ExternalProjectsBuildClasspathEntity
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeApiVersion
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeImplVersion
|
||||
import com.intellij.platform.workspace.storage.MutableEntityStorage
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntity
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntityInternalApi
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.impl.ModifiableWorkspaceEntityBase
|
||||
import com.intellij.platform.workspace.storage.impl.WorkspaceEntityBase
|
||||
import com.intellij.platform.workspace.storage.impl.WorkspaceEntityData
|
||||
import com.intellij.platform.workspace.storage.impl.containers.toMutableWorkspaceList
|
||||
import com.intellij.platform.workspace.storage.instrumentation.EntityStorageInstrumentation
|
||||
import com.intellij.platform.workspace.storage.instrumentation.EntityStorageInstrumentationApi
|
||||
import com.intellij.platform.workspace.storage.metadata.model.EntityMetadata
|
||||
import org.jetbrains.annotations.ApiStatus
|
||||
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class ExternalProjectsBuildClasspathEntityImpl(private val dataSource: ExternalProjectsBuildClasspathEntityData) : ExternalProjectsBuildClasspathEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class ExternalProjectsBuildClasspathEntityImpl(private val dataSource: ExternalProjectsBuildClasspathEntityData) :
|
||||
ExternalProjectsBuildClasspathEntity, WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
|
||||
@@ -50,8 +44,9 @@ internal class ExternalProjectsBuildClasspathEntityImpl(private val dataSource:
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: ExternalProjectsBuildClasspathEntityData?) : ModifiableWorkspaceEntityBase<ExternalProjectsBuildClasspathEntity, ExternalProjectsBuildClasspathEntityData>(
|
||||
result), ExternalProjectsBuildClasspathEntity.Builder {
|
||||
internal class Builder(result: ExternalProjectsBuildClasspathEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<ExternalProjectsBuildClasspathEntity, ExternalProjectsBuildClasspathEntityData>(result),
|
||||
ExternalProjectsBuildClasspathEntity.Builder {
|
||||
internal constructor() : this(ExternalProjectsBuildClasspathEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -95,7 +90,8 @@ internal class ExternalProjectsBuildClasspathEntityImpl(private val dataSource:
|
||||
override fun relabel(dataSource: WorkspaceEntity, parents: Set<WorkspaceEntity>?) {
|
||||
dataSource as ExternalProjectsBuildClasspathEntity
|
||||
if (this.entitySource != dataSource.entitySource) this.entitySource = dataSource.entitySource
|
||||
if (this.projectsBuildClasspath != dataSource.projectsBuildClasspath) this.projectsBuildClasspath = dataSource.projectsBuildClasspath.toMutableMap()
|
||||
if (this.projectsBuildClasspath != dataSource.projectsBuildClasspath) this.projectsBuildClasspath =
|
||||
dataSource.projectsBuildClasspath.toMutableMap()
|
||||
updateChildToParentReferences(parents)
|
||||
}
|
||||
|
||||
@@ -147,7 +143,8 @@ internal class ExternalProjectsBuildClasspathEntityData : WorkspaceEntityData<Ex
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.openapi.externalSystem.settings.workspaceModel.ExternalProjectsBuildClasspathEntity") as EntityMetadata
|
||||
"com.intellij.openapi.externalSystem.settings.workspaceModel.ExternalProjectsBuildClasspathEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun getEntityInterface(): Class<out WorkspaceEntity> {
|
||||
|
||||
+13
-14
@@ -1,4 +1,3 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.openapi.externalSystem.settings.workspaceModel.impl
|
||||
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntityInternalApi
|
||||
@@ -15,28 +14,28 @@ internal object MetadataStorageImpl: MetadataStorageBase() {
|
||||
val primitiveTypeStringNotNullable = ValueTypeMetadata.SimpleType.PrimitiveType(isNullable = false, type = "String")
|
||||
val primitiveTypeListNotNullable = ValueTypeMetadata.SimpleType.PrimitiveType(isNullable = false, type = "List")
|
||||
val primitiveTypeMapNotNullable = ValueTypeMetadata.SimpleType.PrimitiveType(isNullable = false, type = "Map")
|
||||
|
||||
|
||||
var typeMetadata: StorageTypeMetadata
|
||||
|
||||
|
||||
typeMetadata = FinalClassMetadata.ObjectMetadata(fqName = "com.intellij.openapi.externalSystem.settings.workspaceModel.ExternalProjectsBuildClasspathEntitySource", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "virtualFileUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = true, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.EntitySource"))
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.openapi.externalSystem.settings.workspaceModel.ExternalProjectsBuildClasspathEntity", entityDataFqName = "com.intellij.openapi.externalSystem.settings.workspaceModel.impl.ExternalProjectsBuildClasspathEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectsBuildClasspath", valueType = ValueTypeMetadata.ParameterizedType(generics = listOf(primitiveTypeStringNotNullable,
|
||||
ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.openapi.externalSystem.settings.workspaceModel.ExternalProjectBuildClasspathEntity", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectBuildClasspath", valueType = ValueTypeMetadata.ParameterizedType(generics = listOf(primitiveTypeStringNotNullable), primitive = primitiveTypeListNotNullable), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "moduleBuildClasspath", valueType = ValueTypeMetadata.ParameterizedType(generics = listOf(primitiveTypeStringNotNullable,
|
||||
ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.openapi.externalSystem.settings.workspaceModel.ExternalModuleBuildClasspathEntity", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "path", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entries", valueType = ValueTypeMetadata.ParameterizedType(generics = listOf(primitiveTypeStringNotNullable), primitive = primitiveTypeListNotNullable), withDefault = false)), supertypes = listOf()))), primitive = primitiveTypeMapNotNullable), withDefault = false)), supertypes = listOf()))), primitive = primitiveTypeMapNotNullable), withDefault = false)), extProperties = listOf(), isAbstract = false)
|
||||
|
||||
ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.openapi.externalSystem.settings.workspaceModel.ExternalProjectBuildClasspathEntity", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "moduleBuildClasspath", valueType = ValueTypeMetadata.ParameterizedType(generics = listOf(primitiveTypeStringNotNullable,
|
||||
ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.openapi.externalSystem.settings.workspaceModel.ExternalModuleBuildClasspathEntity", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entries", valueType = ValueTypeMetadata.ParameterizedType(generics = listOf(primitiveTypeStringNotNullable), primitive = primitiveTypeListNotNullable), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "path", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf()))), primitive = primitiveTypeMapNotNullable), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectBuildClasspath", valueType = ValueTypeMetadata.ParameterizedType(generics = listOf(primitiveTypeStringNotNullable), primitive = primitiveTypeListNotNullable), withDefault = false)), supertypes = listOf()))), primitive = primitiveTypeMapNotNullable), withDefault = false)), extProperties = listOf(), isAbstract = false)
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
}
|
||||
|
||||
override fun initializeMetadataHash() {
|
||||
addMetadataHash(typeFqn = "com.intellij.openapi.externalSystem.settings.workspaceModel.ExternalProjectsBuildClasspathEntity", metadataHash = -17756932)
|
||||
addMetadataHash(typeFqn = "com.intellij.openapi.externalSystem.settings.workspaceModel.ExternalProjectBuildClasspathEntity", metadataHash = 668757862)
|
||||
addMetadataHash(typeFqn = "com.intellij.openapi.externalSystem.settings.workspaceModel.ExternalModuleBuildClasspathEntity", metadataHash = -637660733)
|
||||
addMetadataHash(typeFqn = "com.intellij.openapi.externalSystem.settings.workspaceModel.ExternalProjectsBuildClasspathEntity", metadataHash = -2089661764)
|
||||
addMetadataHash(typeFqn = "com.intellij.openapi.externalSystem.settings.workspaceModel.ExternalProjectBuildClasspathEntity", metadataHash = 1679465766)
|
||||
addMetadataHash(typeFqn = "com.intellij.openapi.externalSystem.settings.workspaceModel.ExternalModuleBuildClasspathEntity", metadataHash = 1440036197)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.storage.EntitySource", metadataHash = -632855931)
|
||||
addMetadataHash(typeFqn = "com.intellij.openapi.externalSystem.settings.workspaceModel.ExternalProjectsBuildClasspathEntitySource", metadataHash = -872557435)
|
||||
}
|
||||
|
||||
+5
-6
@@ -1,4 +1,3 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.ide.scratch.workspace.impl
|
||||
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntityInternalApi
|
||||
@@ -13,16 +12,16 @@ import com.intellij.platform.workspace.storage.metadata.model.ValueTypeMetadata
|
||||
internal object MetadataStorageImpl: MetadataStorageBase() {
|
||||
override fun initializeMetadata() {
|
||||
val primitiveTypeListNotNullable = ValueTypeMetadata.SimpleType.PrimitiveType(isNullable = false, type = "List")
|
||||
|
||||
|
||||
var typeMetadata: StorageTypeMetadata
|
||||
|
||||
|
||||
typeMetadata = FinalClassMetadata.ObjectMetadata(fqName = "com.intellij.ide.scratch.workspace.ScratchRootsEntitySource", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "virtualFileUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = true, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.EntitySource"))
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.ide.scratch.workspace.ScratchRootsEntity", entityDataFqName = "com.intellij.ide.scratch.workspace.impl.ScratchRootsEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "roots", valueType = ValueTypeMetadata.ParameterizedType(generics = listOf(ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl"))), primitive = primitiveTypeListNotNullable), withDefault = false)), extProperties = listOf(), isAbstract = false)
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
}
|
||||
|
||||
|
||||
+4
-4
@@ -23,8 +23,8 @@ import com.intellij.platform.workspace.storage.url.VirtualFileUrl
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class ScratchRootsEntityImpl(private val dataSource: ScratchRootsEntityData) : ScratchRootsEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class ScratchRootsEntityImpl(private val dataSource: ScratchRootsEntityData) : ScratchRootsEntity,
|
||||
WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
|
||||
@@ -51,8 +51,8 @@ internal class ScratchRootsEntityImpl(private val dataSource: ScratchRootsEntity
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: ScratchRootsEntityData?) : ModifiableWorkspaceEntityBase<ScratchRootsEntity, ScratchRootsEntityData>(
|
||||
result), ScratchRootsEntity.Builder {
|
||||
internal class Builder(result: ScratchRootsEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<ScratchRootsEntity, ScratchRootsEntityData>(result), ScratchRootsEntity.Builder {
|
||||
internal constructor() : this(ScratchRootsEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
|
||||
+3
-3
@@ -70,7 +70,7 @@ class ModifiableFacetModelBridgeImpl(private val initialStorage: EntityStorage,
|
||||
diff.modifyModuleEntity(moduleEntity) module@{
|
||||
if (underlyingEntity != null) {
|
||||
diff.modifyFacetEntity(underlyingEntity) facet@{
|
||||
val newFacet = diff addEntity FacetEntity(facet.name, moduleEntity.symbolicId, FacetEntityTypeId(facetTypeId), source) {
|
||||
val newFacet = diff addEntity FacetEntity.invoke(moduleEntity.symbolicId, facet.name, FacetEntityTypeId(facetTypeId), source) {
|
||||
configurationXmlTag = facetConfigurationXml
|
||||
module = this@module
|
||||
underlyingFacet = this@facet
|
||||
@@ -79,7 +79,7 @@ class ModifiableFacetModelBridgeImpl(private val initialStorage: EntityStorage,
|
||||
}
|
||||
}
|
||||
else {
|
||||
val newFacet = diff addEntity FacetEntity(facet.name, moduleEntity.symbolicId, FacetEntityTypeId(facetTypeId), source) {
|
||||
val newFacet = diff addEntity FacetEntity.invoke(moduleEntity.symbolicId, facet.name, FacetEntityTypeId(facetTypeId), source) {
|
||||
configurationXmlTag = facetConfigurationXml
|
||||
module = this@module
|
||||
}
|
||||
@@ -254,4 +254,4 @@ class ModifiableFacetModelBridgeImpl(private val initialStorage: EntityStorage,
|
||||
super.facetsChanged()
|
||||
listeners.forEach { it.onChanged() }
|
||||
}
|
||||
}
|
||||
}
|
||||
+4
-4
@@ -29,8 +29,8 @@ import com.intellij.util.indexing.testEntities.ParentTestEntity
|
||||
internal class ChildTestEntityImpl(private val dataSource: ChildTestEntityData) : ChildTestEntity, WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
internal val PARENT_CONNECTION_ID: ConnectionId = ConnectionId.create(ParentTestEntity::class.java, ChildTestEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_ONE, false)
|
||||
internal val PARENT_CONNECTION_ID: ConnectionId =
|
||||
ConnectionId.create(ParentTestEntity::class.java, ChildTestEntity::class.java, ConnectionId.ConnectionType.ONE_TO_ONE, false)
|
||||
|
||||
private val connections = listOf<ConnectionId>(
|
||||
PARENT_CONNECTION_ID,
|
||||
@@ -58,8 +58,8 @@ internal class ChildTestEntityImpl(private val dataSource: ChildTestEntityData)
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: ChildTestEntityData?) : ModifiableWorkspaceEntityBase<ChildTestEntity, ChildTestEntityData>(
|
||||
result), ChildTestEntity.Builder {
|
||||
internal class Builder(result: ChildTestEntityData?) : ModifiableWorkspaceEntityBase<ChildTestEntity, ChildTestEntityData>(result),
|
||||
ChildTestEntity.Builder {
|
||||
internal constructor() : this(ChildTestEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
|
||||
+4
-4
@@ -23,8 +23,8 @@ import com.intellij.util.indexing.testEntities.IndexingTestEntity
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class IndexingTestEntityImpl(private val dataSource: IndexingTestEntityData) : IndexingTestEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class IndexingTestEntityImpl(private val dataSource: IndexingTestEntityData) : IndexingTestEntity,
|
||||
WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
|
||||
@@ -57,8 +57,8 @@ internal class IndexingTestEntityImpl(private val dataSource: IndexingTestEntity
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: IndexingTestEntityData?) : ModifiableWorkspaceEntityBase<IndexingTestEntity, IndexingTestEntityData>(
|
||||
result), IndexingTestEntity.Builder {
|
||||
internal class Builder(result: IndexingTestEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<IndexingTestEntity, IndexingTestEntityData>(result), IndexingTestEntity.Builder {
|
||||
internal constructor() : this(IndexingTestEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
|
||||
+7
-8
@@ -1,4 +1,3 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.util.indexing.testEntities.impl
|
||||
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
@@ -15,25 +14,25 @@ internal object MetadataStorageImpl: MetadataStorageBase() {
|
||||
override fun initializeMetadata() {
|
||||
val primitiveTypeStringNotNullable = ValueTypeMetadata.SimpleType.PrimitiveType(isNullable = false, type = "String")
|
||||
val primitiveTypeListNotNullable = ValueTypeMetadata.SimpleType.PrimitiveType(isNullable = false, type = "List")
|
||||
|
||||
|
||||
var typeMetadata: StorageTypeMetadata
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.util.indexing.testEntities.ChildTestEntity", entityDataFqName = "com.intellij.util.indexing.testEntities.impl.ChildTestEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "parent", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ONE, entityFqName = "com.intellij.util.indexing.testEntities.ParentTestEntity", isChild = false, isNullable = false), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "customChildProperty", valueType = primitiveTypeStringNotNullable, withDefault = false)), extProperties = listOf(), isAbstract = false)
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.util.indexing.testEntities.IndexingTestEntity", entityDataFqName = "com.intellij.util.indexing.testEntities.impl.IndexingTestEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "roots", valueType = ValueTypeMetadata.ParameterizedType(generics = listOf(ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl"))), primitive = primitiveTypeListNotNullable), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "excludedRoots", valueType = ValueTypeMetadata.ParameterizedType(generics = listOf(ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl"))), primitive = primitiveTypeListNotNullable), withDefault = false)), extProperties = listOf(), isAbstract = false)
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.util.indexing.testEntities.ParentTestEntity", entityDataFqName = "com.intellij.util.indexing.testEntities.impl.ParentTestEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "child", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ONE, entityFqName = "com.intellij.util.indexing.testEntities.ChildTestEntity", isChild = true, isNullable = true), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "customParentProperty", valueType = primitiveTypeStringNotNullable, withDefault = false)), extProperties = listOf(), isAbstract = false)
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
}
|
||||
|
||||
|
||||
+4
-4
@@ -29,8 +29,8 @@ import com.intellij.util.indexing.testEntities.ParentTestEntity
|
||||
internal class ParentTestEntityImpl(private val dataSource: ParentTestEntityData) : ParentTestEntity, WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
internal val CHILD_CONNECTION_ID: ConnectionId = ConnectionId.create(ParentTestEntity::class.java, ChildTestEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_ONE, false)
|
||||
internal val CHILD_CONNECTION_ID: ConnectionId =
|
||||
ConnectionId.create(ParentTestEntity::class.java, ChildTestEntity::class.java, ConnectionId.ConnectionType.ONE_TO_ONE, false)
|
||||
|
||||
private val connections = listOf<ConnectionId>(
|
||||
CHILD_CONNECTION_ID,
|
||||
@@ -58,8 +58,8 @@ internal class ParentTestEntityImpl(private val dataSource: ParentTestEntityData
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: ParentTestEntityData?) : ModifiableWorkspaceEntityBase<ParentTestEntity, ParentTestEntityData>(
|
||||
result), ParentTestEntity.Builder {
|
||||
internal class Builder(result: ParentTestEntityData?) : ModifiableWorkspaceEntityBase<ParentTestEntity, ParentTestEntityData>(result),
|
||||
ParentTestEntity.Builder {
|
||||
internal constructor() : this(ParentTestEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
|
||||
+1
-2
@@ -2,12 +2,12 @@
|
||||
package com.intellij.util.indexing.testEntities
|
||||
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeApiVersion
|
||||
import com.intellij.platform.workspace.storage.MutableEntityStorage
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntity
|
||||
import com.intellij.platform.workspace.storage.impl.containers.toMutableWorkspaceList
|
||||
import com.intellij.platform.workspace.storage.url.VirtualFileUrl
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
|
||||
interface IndexingTestEntity : WorkspaceEntity {
|
||||
val roots: List<VirtualFileUrl>
|
||||
@@ -50,4 +50,3 @@ fun MutableEntityStorage.modifyIndexingTestEntity(
|
||||
return modifyEntity(IndexingTestEntity.Builder::class.java, entity, modification)
|
||||
}
|
||||
//endregion
|
||||
|
||||
|
||||
+5
-6
@@ -1,4 +1,3 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.workspaceModel.ide.legacyBridge.impl
|
||||
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntityInternalApi
|
||||
@@ -11,15 +10,15 @@ import com.intellij.platform.workspace.storage.metadata.model.ValueTypeMetadata
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal object MetadataStorageImpl: MetadataStorageBase() {
|
||||
override fun initializeMetadata() {
|
||||
|
||||
|
||||
var typeMetadata: StorageTypeMetadata
|
||||
|
||||
|
||||
typeMetadata = FinalClassMetadata.ObjectMetadata(fqName = "com.intellij.workspaceModel.ide.legacyBridge.ModuleDependencyIndexTest\$MySource", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "virtualFileUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = true, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.EntitySource"))
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = FinalClassMetadata.ObjectMetadata(fqName = "com.intellij.workspaceModel.ide.legacyBridge.LibraryLevelsTrackerTest\$MySource", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "virtualFileUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = true, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.EntitySource"))
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
}
|
||||
|
||||
|
||||
+7
-7
@@ -1,4 +1,3 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.workspaceModel.ide.impl.legacyBridge.library.impl
|
||||
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntityInternalApi
|
||||
@@ -12,18 +11,19 @@ import com.intellij.platform.workspace.storage.metadata.model.ValueTypeMetadata
|
||||
internal object MetadataStorageImpl: MetadataStorageBase() {
|
||||
override fun initializeMetadata() {
|
||||
val primitiveTypeStringNotNullable = ValueTypeMetadata.SimpleType.PrimitiveType(isNullable = false, type = "String")
|
||||
|
||||
|
||||
var typeMetadata: StorageTypeMetadata
|
||||
|
||||
|
||||
typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.workspaceModel.ide.impl.legacyBridge.library.LegacyCustomLibraryEntitySource", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "levelId", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "virtualFileUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = true, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.EntitySource"))
|
||||
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "virtualFileUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = true, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.GlobalStorageEntitySource",
|
||||
"com.intellij.platform.workspace.storage.EntitySource"))
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
}
|
||||
|
||||
override fun initializeMetadataHash() {
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.storage.EntitySource", metadataHash = 2042955165)
|
||||
addMetadataHash(typeFqn = "com.intellij.workspaceModel.ide.impl.legacyBridge.library.LegacyCustomLibraryEntitySource", metadataHash = 1116896941)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.storage.EntitySource", metadataHash = 298806520)
|
||||
addMetadataHash(typeFqn = "com.intellij.workspaceModel.ide.impl.legacyBridge.library.LegacyCustomLibraryEntitySource", metadataHash = 965396052)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -692,8 +692,8 @@ f:com.intellij.platform.workspace.jps.entities.ExtensionsKt
|
||||
com.intellij.platform.workspace.jps.entities.FacetEntity
|
||||
- com.intellij.platform.workspace.jps.entities.ModuleSettingsFacetBridgeEntity
|
||||
- sf:Companion:com.intellij.platform.workspace.jps.entities.FacetEntity$Companion
|
||||
- s:create(java.lang.String,com.intellij.platform.workspace.jps.entities.ModuleId,com.intellij.platform.workspace.jps.entities.FacetEntityTypeId,com.intellij.platform.workspace.storage.EntitySource):com.intellij.platform.workspace.jps.entities.FacetEntity$Builder
|
||||
- s:create(java.lang.String,com.intellij.platform.workspace.jps.entities.ModuleId,com.intellij.platform.workspace.jps.entities.FacetEntityTypeId,com.intellij.platform.workspace.storage.EntitySource,kotlin.jvm.functions.Function1):com.intellij.platform.workspace.jps.entities.FacetEntity$Builder
|
||||
- s:create(com.intellij.platform.workspace.jps.entities.ModuleId,java.lang.String,com.intellij.platform.workspace.jps.entities.FacetEntityTypeId,com.intellij.platform.workspace.storage.EntitySource):com.intellij.platform.workspace.jps.entities.FacetEntity$Builder
|
||||
- s:create(com.intellij.platform.workspace.jps.entities.ModuleId,java.lang.String,com.intellij.platform.workspace.jps.entities.FacetEntityTypeId,com.intellij.platform.workspace.storage.EntitySource,kotlin.jvm.functions.Function1):com.intellij.platform.workspace.jps.entities.FacetEntity$Builder
|
||||
- a:getConfigurationXmlTag():java.lang.String
|
||||
- a:getModule():com.intellij.platform.workspace.jps.entities.ModuleEntity
|
||||
- getSymbolicId():com.intellij.platform.workspace.jps.entities.FacetId
|
||||
@@ -718,9 +718,9 @@ com.intellij.platform.workspace.jps.entities.FacetEntity$Builder
|
||||
- a:setUnderlyingFacet(com.intellij.platform.workspace.jps.entities.FacetEntity$Builder):V
|
||||
f:com.intellij.platform.workspace.jps.entities.FacetEntity$Companion
|
||||
- com.intellij.platform.workspace.storage.EntityType
|
||||
- f:create(java.lang.String,com.intellij.platform.workspace.jps.entities.ModuleId,com.intellij.platform.workspace.jps.entities.FacetEntityTypeId,com.intellij.platform.workspace.storage.EntitySource):com.intellij.platform.workspace.jps.entities.FacetEntity$Builder
|
||||
- f:create(java.lang.String,com.intellij.platform.workspace.jps.entities.ModuleId,com.intellij.platform.workspace.jps.entities.FacetEntityTypeId,com.intellij.platform.workspace.storage.EntitySource,kotlin.jvm.functions.Function1):com.intellij.platform.workspace.jps.entities.FacetEntity$Builder
|
||||
- bs:create$default(com.intellij.platform.workspace.jps.entities.FacetEntity$Companion,java.lang.String,com.intellij.platform.workspace.jps.entities.ModuleId,com.intellij.platform.workspace.jps.entities.FacetEntityTypeId,com.intellij.platform.workspace.storage.EntitySource,kotlin.jvm.functions.Function1,I,java.lang.Object):com.intellij.platform.workspace.jps.entities.FacetEntity$Builder
|
||||
- f:create(com.intellij.platform.workspace.jps.entities.ModuleId,java.lang.String,com.intellij.platform.workspace.jps.entities.FacetEntityTypeId,com.intellij.platform.workspace.storage.EntitySource):com.intellij.platform.workspace.jps.entities.FacetEntity$Builder
|
||||
- f:create(com.intellij.platform.workspace.jps.entities.ModuleId,java.lang.String,com.intellij.platform.workspace.jps.entities.FacetEntityTypeId,com.intellij.platform.workspace.storage.EntitySource,kotlin.jvm.functions.Function1):com.intellij.platform.workspace.jps.entities.FacetEntity$Builder
|
||||
- bs:create$default(com.intellij.platform.workspace.jps.entities.FacetEntity$Companion,com.intellij.platform.workspace.jps.entities.ModuleId,java.lang.String,com.intellij.platform.workspace.jps.entities.FacetEntityTypeId,com.intellij.platform.workspace.storage.EntitySource,kotlin.jvm.functions.Function1,I,java.lang.Object):com.intellij.platform.workspace.jps.entities.FacetEntity$Builder
|
||||
f:com.intellij.platform.workspace.jps.entities.FacetEntityTypeId
|
||||
- <init>(java.lang.String):V
|
||||
- f:component1():java.lang.String
|
||||
@@ -939,8 +939,8 @@ f:com.intellij.platform.workspace.jps.entities.ModuleId
|
||||
com.intellij.platform.workspace.jps.entities.ModuleSettingsFacetBridgeEntity
|
||||
- com.intellij.platform.workspace.storage.WorkspaceEntityWithSymbolicId
|
||||
- sf:Companion:com.intellij.platform.workspace.jps.entities.ModuleSettingsFacetBridgeEntity$Companion
|
||||
- s:create(java.lang.String,com.intellij.platform.workspace.jps.entities.ModuleId,com.intellij.platform.workspace.storage.EntitySource):com.intellij.platform.workspace.jps.entities.ModuleSettingsFacetBridgeEntity$Builder
|
||||
- s:create(java.lang.String,com.intellij.platform.workspace.jps.entities.ModuleId,com.intellij.platform.workspace.storage.EntitySource,kotlin.jvm.functions.Function1):com.intellij.platform.workspace.jps.entities.ModuleSettingsFacetBridgeEntity$Builder
|
||||
- s:create(com.intellij.platform.workspace.jps.entities.ModuleId,java.lang.String,com.intellij.platform.workspace.storage.EntitySource):com.intellij.platform.workspace.jps.entities.ModuleSettingsFacetBridgeEntity$Builder
|
||||
- s:create(com.intellij.platform.workspace.jps.entities.ModuleId,java.lang.String,com.intellij.platform.workspace.storage.EntitySource,kotlin.jvm.functions.Function1):com.intellij.platform.workspace.jps.entities.ModuleSettingsFacetBridgeEntity$Builder
|
||||
- a:getModuleId():com.intellij.platform.workspace.jps.entities.ModuleId
|
||||
- a:getName():java.lang.String
|
||||
com.intellij.platform.workspace.jps.entities.ModuleSettingsFacetBridgeEntity$Builder
|
||||
@@ -953,9 +953,9 @@ com.intellij.platform.workspace.jps.entities.ModuleSettingsFacetBridgeEntity$Bui
|
||||
- a:setName(java.lang.String):V
|
||||
f:com.intellij.platform.workspace.jps.entities.ModuleSettingsFacetBridgeEntity$Companion
|
||||
- com.intellij.platform.workspace.storage.EntityType
|
||||
- f:create(java.lang.String,com.intellij.platform.workspace.jps.entities.ModuleId,com.intellij.platform.workspace.storage.EntitySource):com.intellij.platform.workspace.jps.entities.ModuleSettingsFacetBridgeEntity$Builder
|
||||
- f:create(java.lang.String,com.intellij.platform.workspace.jps.entities.ModuleId,com.intellij.platform.workspace.storage.EntitySource,kotlin.jvm.functions.Function1):com.intellij.platform.workspace.jps.entities.ModuleSettingsFacetBridgeEntity$Builder
|
||||
- bs:create$default(com.intellij.platform.workspace.jps.entities.ModuleSettingsFacetBridgeEntity$Companion,java.lang.String,com.intellij.platform.workspace.jps.entities.ModuleId,com.intellij.platform.workspace.storage.EntitySource,kotlin.jvm.functions.Function1,I,java.lang.Object):com.intellij.platform.workspace.jps.entities.ModuleSettingsFacetBridgeEntity$Builder
|
||||
- f:create(com.intellij.platform.workspace.jps.entities.ModuleId,java.lang.String,com.intellij.platform.workspace.storage.EntitySource):com.intellij.platform.workspace.jps.entities.ModuleSettingsFacetBridgeEntity$Builder
|
||||
- f:create(com.intellij.platform.workspace.jps.entities.ModuleId,java.lang.String,com.intellij.platform.workspace.storage.EntitySource,kotlin.jvm.functions.Function1):com.intellij.platform.workspace.jps.entities.ModuleSettingsFacetBridgeEntity$Builder
|
||||
- bs:create$default(com.intellij.platform.workspace.jps.entities.ModuleSettingsFacetBridgeEntity$Companion,com.intellij.platform.workspace.jps.entities.ModuleId,java.lang.String,com.intellij.platform.workspace.storage.EntitySource,kotlin.jvm.functions.Function1,I,java.lang.Object):com.intellij.platform.workspace.jps.entities.ModuleSettingsFacetBridgeEntity$Builder
|
||||
f:com.intellij.platform.workspace.jps.entities.ModuleSourceDependency
|
||||
- com.intellij.platform.workspace.jps.entities.ModuleDependencyItem
|
||||
- sf:INSTANCE:com.intellij.platform.workspace.jps.entities.ModuleSourceDependency
|
||||
|
||||
+31
-30
@@ -9,14 +9,6 @@ import com.intellij.openapi.util.NlsSafe
|
||||
import com.intellij.platform.workspace.jps.entities.LibraryId
|
||||
import com.intellij.platform.workspace.jps.entities.ModuleId
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeApiVersion
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeImplVersion
|
||||
import com.intellij.platform.workspace.storage.MutableEntityStorage
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntity
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntityInternalApi
|
||||
import com.intellij.platform.workspace.storage.annotations.Abstract
|
||||
import com.intellij.platform.workspace.storage.annotations.Child
|
||||
import com.intellij.platform.workspace.storage.impl.EntityLink
|
||||
@@ -41,19 +33,23 @@ import org.jetbrains.annotations.NonNls
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class ArchivePackagingElementEntityImpl(private val dataSource: ArchivePackagingElementEntityData) : ArchivePackagingElementEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class ArchivePackagingElementEntityImpl(private val dataSource: ArchivePackagingElementEntityData) : ArchivePackagingElementEntity,
|
||||
WorkspaceEntityBase(
|
||||
dataSource
|
||||
) {
|
||||
|
||||
private companion object {
|
||||
internal val PARENTENTITY_CONNECTION_ID: ConnectionId = ConnectionId.create(CompositePackagingElementEntity::class.java,
|
||||
PackagingElementEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY, true)
|
||||
internal val ARTIFACT_CONNECTION_ID: ConnectionId = ConnectionId.create(ArtifactEntity::class.java,
|
||||
CompositePackagingElementEntity::class.java,
|
||||
ConnectionId.ConnectionType.ABSTRACT_ONE_TO_ONE, true)
|
||||
internal val CHILDREN_CONNECTION_ID: ConnectionId = ConnectionId.create(CompositePackagingElementEntity::class.java,
|
||||
PackagingElementEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY, true)
|
||||
internal val PARENTENTITY_CONNECTION_ID: ConnectionId = ConnectionId.create(
|
||||
CompositePackagingElementEntity::class.java, PackagingElementEntity::class.java, ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY,
|
||||
true
|
||||
)
|
||||
internal val ARTIFACT_CONNECTION_ID: ConnectionId = ConnectionId.create(
|
||||
ArtifactEntity::class.java, CompositePackagingElementEntity::class.java, ConnectionId.ConnectionType.ABSTRACT_ONE_TO_ONE, true
|
||||
)
|
||||
internal val CHILDREN_CONNECTION_ID: ConnectionId = ConnectionId.create(
|
||||
CompositePackagingElementEntity::class.java, PackagingElementEntity::class.java, ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY,
|
||||
true
|
||||
)
|
||||
|
||||
private val connections = listOf<ConnectionId>(
|
||||
PARENTENTITY_CONNECTION_ID,
|
||||
@@ -89,8 +85,9 @@ internal class ArchivePackagingElementEntityImpl(private val dataSource: Archive
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: ArchivePackagingElementEntityData?) : ModifiableWorkspaceEntityBase<ArchivePackagingElementEntity, ArchivePackagingElementEntityData>(
|
||||
result), ArchivePackagingElementEntity.Builder {
|
||||
internal class Builder(result: ArchivePackagingElementEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<ArchivePackagingElementEntity, ArchivePackagingElementEntityData>(result),
|
||||
ArchivePackagingElementEntity.Builder {
|
||||
internal constructor() : this(ArchivePackagingElementEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -164,14 +161,17 @@ internal class ArchivePackagingElementEntityImpl(private val dataSource: Archive
|
||||
val _diff = diff
|
||||
return if (_diff != null) {
|
||||
@OptIn(EntityStorageInstrumentationApi::class)
|
||||
((_diff as MutableEntityStorageInstrumentation).getParentBuilder(PARENTENTITY_CONNECTION_ID,
|
||||
this) as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
?: (this.entityLinks[EntityLink(false,
|
||||
PARENTENTITY_CONNECTION_ID)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
((_diff as MutableEntityStorageInstrumentation).getParentBuilder(
|
||||
PARENTENTITY_CONNECTION_ID, this
|
||||
) as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
?: (this.entityLinks[EntityLink(
|
||||
false, PARENTENTITY_CONNECTION_ID
|
||||
)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
}
|
||||
else {
|
||||
this.entityLinks[EntityLink(false,
|
||||
PARENTENTITY_CONNECTION_ID)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>
|
||||
this.entityLinks[EntityLink(
|
||||
false, PARENTENTITY_CONNECTION_ID
|
||||
)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>
|
||||
}
|
||||
}
|
||||
set(value) {
|
||||
@@ -243,8 +243,8 @@ internal class ArchivePackagingElementEntityImpl(private val dataSource: Archive
|
||||
val _diff = diff
|
||||
return if (_diff != null) {
|
||||
@OptIn(EntityStorageInstrumentationApi::class)
|
||||
((_diff as MutableEntityStorageInstrumentation).getManyChildrenBuilders(CHILDREN_CONNECTION_ID,
|
||||
this)!!.toList() as List<PackagingElementEntity.Builder<out PackagingElementEntity>>) +
|
||||
((_diff as MutableEntityStorageInstrumentation).getManyChildrenBuilders(CHILDREN_CONNECTION_ID, this)!!
|
||||
.toList() as List<PackagingElementEntity.Builder<out PackagingElementEntity>>) +
|
||||
(this.entityLinks[EntityLink(true, CHILDREN_CONNECTION_ID)] as? List<PackagingElementEntity.Builder<out PackagingElementEntity>>
|
||||
?: emptyList())
|
||||
}
|
||||
@@ -329,7 +329,8 @@ internal class ArchivePackagingElementEntityData : WorkspaceEntityData<ArchivePa
|
||||
|
||||
override fun createDetachedEntity(parents: List<WorkspaceEntity.Builder<*>>): WorkspaceEntity.Builder<*> {
|
||||
return ArchivePackagingElementEntity(fileName, entitySource) {
|
||||
this.parentEntity = parents.filterIsInstance<CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>>().singleOrNull()
|
||||
this.parentEntity =
|
||||
parents.filterIsInstance<CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>>().singleOrNull()
|
||||
this.artifact = parents.filterIsInstance<ArtifactEntity.Builder>().singleOrNull()
|
||||
}
|
||||
}
|
||||
|
||||
+27
-32
@@ -10,14 +10,6 @@ import com.intellij.openapi.util.NlsSafe
|
||||
import com.intellij.platform.workspace.jps.entities.LibraryId
|
||||
import com.intellij.platform.workspace.jps.entities.ModuleId
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeApiVersion
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeImplVersion
|
||||
import com.intellij.platform.workspace.storage.MutableEntityStorage
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntity
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntityInternalApi
|
||||
import com.intellij.platform.workspace.storage.annotations.Abstract
|
||||
import com.intellij.platform.workspace.storage.annotations.Child
|
||||
import com.intellij.platform.workspace.storage.impl.EntityLink
|
||||
@@ -44,16 +36,14 @@ import org.jetbrains.annotations.NonNls
|
||||
internal class ArtifactEntityImpl(private val dataSource: ArtifactEntityData) : ArtifactEntity, WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
internal val ROOTELEMENT_CONNECTION_ID: ConnectionId = ConnectionId.create(ArtifactEntity::class.java,
|
||||
CompositePackagingElementEntity::class.java,
|
||||
ConnectionId.ConnectionType.ABSTRACT_ONE_TO_ONE, true)
|
||||
internal val CUSTOMPROPERTIES_CONNECTION_ID: ConnectionId = ConnectionId.create(ArtifactEntity::class.java,
|
||||
ArtifactPropertiesEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_MANY, false)
|
||||
internal val ARTIFACTOUTPUTPACKAGINGELEMENT_CONNECTION_ID: ConnectionId = ConnectionId.create(ArtifactEntity::class.java,
|
||||
ArtifactOutputPackagingElementEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_ONE,
|
||||
true)
|
||||
internal val ROOTELEMENT_CONNECTION_ID: ConnectionId = ConnectionId.create(
|
||||
ArtifactEntity::class.java, CompositePackagingElementEntity::class.java, ConnectionId.ConnectionType.ABSTRACT_ONE_TO_ONE, true
|
||||
)
|
||||
internal val CUSTOMPROPERTIES_CONNECTION_ID: ConnectionId =
|
||||
ConnectionId.create(ArtifactEntity::class.java, ArtifactPropertiesEntity::class.java, ConnectionId.ConnectionType.ONE_TO_MANY, false)
|
||||
internal val ARTIFACTOUTPUTPACKAGINGELEMENT_CONNECTION_ID: ConnectionId = ConnectionId.create(
|
||||
ArtifactEntity::class.java, ArtifactOutputPackagingElementEntity::class.java, ConnectionId.ConnectionType.ONE_TO_ONE, true
|
||||
)
|
||||
|
||||
private val connections = listOf<ConnectionId>(
|
||||
ROOTELEMENT_CONNECTION_ID,
|
||||
@@ -108,8 +98,8 @@ internal class ArtifactEntityImpl(private val dataSource: ArtifactEntityData) :
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: ArtifactEntityData?) : ModifiableWorkspaceEntityBase<ArtifactEntity, ArtifactEntityData>(
|
||||
result), ArtifactEntity.Builder {
|
||||
internal class Builder(result: ArtifactEntityData?) : ModifiableWorkspaceEntityBase<ArtifactEntity, ArtifactEntityData>(result),
|
||||
ArtifactEntity.Builder {
|
||||
internal constructor() : this(ArtifactEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -224,14 +214,17 @@ internal class ArtifactEntityImpl(private val dataSource: ArtifactEntityData) :
|
||||
val _diff = diff
|
||||
return if (_diff != null) {
|
||||
@OptIn(EntityStorageInstrumentationApi::class)
|
||||
((_diff as MutableEntityStorageInstrumentation).getOneChildBuilder(ROOTELEMENT_CONNECTION_ID,
|
||||
this) as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
?: (this.entityLinks[EntityLink(true,
|
||||
ROOTELEMENT_CONNECTION_ID)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
((_diff as MutableEntityStorageInstrumentation).getOneChildBuilder(
|
||||
ROOTELEMENT_CONNECTION_ID, this
|
||||
) as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
?: (this.entityLinks[EntityLink(
|
||||
true, ROOTELEMENT_CONNECTION_ID
|
||||
)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
}
|
||||
else {
|
||||
this.entityLinks[EntityLink(true,
|
||||
ROOTELEMENT_CONNECTION_ID)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>
|
||||
this.entityLinks[EntityLink(
|
||||
true, ROOTELEMENT_CONNECTION_ID
|
||||
)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>
|
||||
}
|
||||
}
|
||||
set(value) {
|
||||
@@ -266,8 +259,8 @@ internal class ArtifactEntityImpl(private val dataSource: ArtifactEntityData) :
|
||||
val _diff = diff
|
||||
return if (_diff != null) {
|
||||
@OptIn(EntityStorageInstrumentationApi::class)
|
||||
((_diff as MutableEntityStorageInstrumentation).getManyChildrenBuilders(CUSTOMPROPERTIES_CONNECTION_ID,
|
||||
this)!!.toList() as List<ArtifactPropertiesEntity.Builder>) +
|
||||
((_diff as MutableEntityStorageInstrumentation).getManyChildrenBuilders(CUSTOMPROPERTIES_CONNECTION_ID, this)!!
|
||||
.toList() as List<ArtifactPropertiesEntity.Builder>) +
|
||||
(this.entityLinks[EntityLink(true, CUSTOMPROPERTIES_CONNECTION_ID)] as? List<ArtifactPropertiesEntity.Builder> ?: emptyList())
|
||||
}
|
||||
else {
|
||||
@@ -310,10 +303,12 @@ internal class ArtifactEntityImpl(private val dataSource: ArtifactEntityData) :
|
||||
val _diff = diff
|
||||
return if (_diff != null) {
|
||||
@OptIn(EntityStorageInstrumentationApi::class)
|
||||
((_diff as MutableEntityStorageInstrumentation).getOneChildBuilder(ARTIFACTOUTPUTPACKAGINGELEMENT_CONNECTION_ID,
|
||||
this) as? ArtifactOutputPackagingElementEntity.Builder)
|
||||
?: (this.entityLinks[EntityLink(true,
|
||||
ARTIFACTOUTPUTPACKAGINGELEMENT_CONNECTION_ID)] as? ArtifactOutputPackagingElementEntity.Builder)
|
||||
((_diff as MutableEntityStorageInstrumentation).getOneChildBuilder(
|
||||
ARTIFACTOUTPUTPACKAGINGELEMENT_CONNECTION_ID, this
|
||||
) as? ArtifactOutputPackagingElementEntity.Builder)
|
||||
?: (this.entityLinks[EntityLink(
|
||||
true, ARTIFACTOUTPUTPACKAGINGELEMENT_CONNECTION_ID
|
||||
)] as? ArtifactOutputPackagingElementEntity.Builder)
|
||||
}
|
||||
else {
|
||||
this.entityLinks[EntityLink(true, ARTIFACTOUTPUTPACKAGINGELEMENT_CONNECTION_ID)] as? ArtifactOutputPackagingElementEntity.Builder
|
||||
|
||||
+22
-24
@@ -9,15 +9,6 @@ import com.intellij.openapi.util.NlsSafe
|
||||
import com.intellij.platform.workspace.jps.entities.LibraryId
|
||||
import com.intellij.platform.workspace.jps.entities.ModuleId
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeApiVersion
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeImplVersion
|
||||
import com.intellij.platform.workspace.storage.MutableEntityStorage
|
||||
import com.intellij.platform.workspace.storage.SymbolicEntityId
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntity
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntityInternalApi
|
||||
import com.intellij.platform.workspace.storage.annotations.Abstract
|
||||
import com.intellij.platform.workspace.storage.annotations.Child
|
||||
import com.intellij.platform.workspace.storage.impl.EntityLink
|
||||
@@ -39,13 +30,14 @@ import org.jetbrains.annotations.NonNls
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class ArtifactOutputPackagingElementEntityImpl(private val dataSource: ArtifactOutputPackagingElementEntityData) : ArtifactOutputPackagingElementEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class ArtifactOutputPackagingElementEntityImpl(private val dataSource: ArtifactOutputPackagingElementEntityData) :
|
||||
ArtifactOutputPackagingElementEntity, WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
internal val PARENTENTITY_CONNECTION_ID: ConnectionId = ConnectionId.create(CompositePackagingElementEntity::class.java,
|
||||
PackagingElementEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY, true)
|
||||
internal val PARENTENTITY_CONNECTION_ID: ConnectionId = ConnectionId.create(
|
||||
CompositePackagingElementEntity::class.java, PackagingElementEntity::class.java, ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY,
|
||||
true
|
||||
)
|
||||
|
||||
private val connections = listOf<ConnectionId>(
|
||||
PARENTENTITY_CONNECTION_ID,
|
||||
@@ -73,8 +65,9 @@ internal class ArtifactOutputPackagingElementEntityImpl(private val dataSource:
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: ArtifactOutputPackagingElementEntityData?) : ModifiableWorkspaceEntityBase<ArtifactOutputPackagingElementEntity, ArtifactOutputPackagingElementEntityData>(
|
||||
result), ArtifactOutputPackagingElementEntity.Builder {
|
||||
internal class Builder(result: ArtifactOutputPackagingElementEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<ArtifactOutputPackagingElementEntity, ArtifactOutputPackagingElementEntityData>(result),
|
||||
ArtifactOutputPackagingElementEntity.Builder {
|
||||
internal constructor() : this(ArtifactOutputPackagingElementEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -134,14 +127,17 @@ internal class ArtifactOutputPackagingElementEntityImpl(private val dataSource:
|
||||
val _diff = diff
|
||||
return if (_diff != null) {
|
||||
@OptIn(EntityStorageInstrumentationApi::class)
|
||||
((_diff as MutableEntityStorageInstrumentation).getParentBuilder(PARENTENTITY_CONNECTION_ID,
|
||||
this) as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
?: (this.entityLinks[EntityLink(false,
|
||||
PARENTENTITY_CONNECTION_ID)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
((_diff as MutableEntityStorageInstrumentation).getParentBuilder(
|
||||
PARENTENTITY_CONNECTION_ID, this
|
||||
) as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
?: (this.entityLinks[EntityLink(
|
||||
false, PARENTENTITY_CONNECTION_ID
|
||||
)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
}
|
||||
else {
|
||||
this.entityLinks[EntityLink(false,
|
||||
PARENTENTITY_CONNECTION_ID)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>
|
||||
this.entityLinks[EntityLink(
|
||||
false, PARENTENTITY_CONNECTION_ID
|
||||
)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>
|
||||
}
|
||||
}
|
||||
set(value) {
|
||||
@@ -262,7 +258,8 @@ internal class ArtifactOutputPackagingElementEntityData : WorkspaceEntityData<Ar
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.java.workspace.entities.ArtifactOutputPackagingElementEntity") as EntityMetadata
|
||||
"com.intellij.java.workspace.entities.ArtifactOutputPackagingElementEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun getEntityInterface(): Class<out WorkspaceEntity> {
|
||||
@@ -272,7 +269,8 @@ internal class ArtifactOutputPackagingElementEntityData : WorkspaceEntityData<Ar
|
||||
override fun createDetachedEntity(parents: List<WorkspaceEntity.Builder<*>>): WorkspaceEntity.Builder<*> {
|
||||
return ArtifactOutputPackagingElementEntity(entitySource) {
|
||||
this.artifact = this@ArtifactOutputPackagingElementEntityData.artifact
|
||||
this.parentEntity = parents.filterIsInstance<CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>>().singleOrNull()
|
||||
this.parentEntity =
|
||||
parents.filterIsInstance<CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>>().singleOrNull()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+6
-15
@@ -7,14 +7,6 @@ import com.intellij.openapi.util.NlsSafe
|
||||
import com.intellij.platform.workspace.jps.entities.LibraryId
|
||||
import com.intellij.platform.workspace.jps.entities.ModuleId
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeApiVersion
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeImplVersion
|
||||
import com.intellij.platform.workspace.storage.MutableEntityStorage
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntity
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntityInternalApi
|
||||
import com.intellij.platform.workspace.storage.annotations.Abstract
|
||||
import com.intellij.platform.workspace.storage.annotations.Child
|
||||
import com.intellij.platform.workspace.storage.impl.EntityLink
|
||||
@@ -34,13 +26,12 @@ import org.jetbrains.annotations.NonNls
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class ArtifactPropertiesEntityImpl(private val dataSource: ArtifactPropertiesEntityData) : ArtifactPropertiesEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class ArtifactPropertiesEntityImpl(private val dataSource: ArtifactPropertiesEntityData) : ArtifactPropertiesEntity,
|
||||
WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
internal val ARTIFACT_CONNECTION_ID: ConnectionId = ConnectionId.create(ArtifactEntity::class.java,
|
||||
ArtifactPropertiesEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_MANY, false)
|
||||
internal val ARTIFACT_CONNECTION_ID: ConnectionId =
|
||||
ConnectionId.create(ArtifactEntity::class.java, ArtifactPropertiesEntity::class.java, ConnectionId.ConnectionType.ONE_TO_MANY, false)
|
||||
|
||||
private val connections = listOf<ConnectionId>(
|
||||
ARTIFACT_CONNECTION_ID,
|
||||
@@ -74,8 +65,8 @@ internal class ArtifactPropertiesEntityImpl(private val dataSource: ArtifactProp
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: ArtifactPropertiesEntityData?) : ModifiableWorkspaceEntityBase<ArtifactPropertiesEntity, ArtifactPropertiesEntityData>(
|
||||
result), ArtifactPropertiesEntity.Builder {
|
||||
internal class Builder(result: ArtifactPropertiesEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<ArtifactPropertiesEntity, ArtifactPropertiesEntityData>(result), ArtifactPropertiesEntity.Builder {
|
||||
internal constructor() : this(ArtifactPropertiesEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
|
||||
+28
-30
@@ -9,14 +9,6 @@ import com.intellij.openapi.util.NlsSafe
|
||||
import com.intellij.platform.workspace.jps.entities.LibraryId
|
||||
import com.intellij.platform.workspace.jps.entities.ModuleId
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeApiVersion
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeImplVersion
|
||||
import com.intellij.platform.workspace.storage.MutableEntityStorage
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntity
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntityInternalApi
|
||||
import com.intellij.platform.workspace.storage.annotations.Abstract
|
||||
import com.intellij.platform.workspace.storage.annotations.Child
|
||||
import com.intellij.platform.workspace.storage.impl.EntityLink
|
||||
@@ -41,19 +33,21 @@ import org.jetbrains.annotations.NonNls
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class ArtifactRootElementEntityImpl(private val dataSource: ArtifactRootElementEntityData) : ArtifactRootElementEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class ArtifactRootElementEntityImpl(private val dataSource: ArtifactRootElementEntityData) : ArtifactRootElementEntity,
|
||||
WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
internal val PARENTENTITY_CONNECTION_ID: ConnectionId = ConnectionId.create(CompositePackagingElementEntity::class.java,
|
||||
PackagingElementEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY, true)
|
||||
internal val ARTIFACT_CONNECTION_ID: ConnectionId = ConnectionId.create(ArtifactEntity::class.java,
|
||||
CompositePackagingElementEntity::class.java,
|
||||
ConnectionId.ConnectionType.ABSTRACT_ONE_TO_ONE, true)
|
||||
internal val CHILDREN_CONNECTION_ID: ConnectionId = ConnectionId.create(CompositePackagingElementEntity::class.java,
|
||||
PackagingElementEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY, true)
|
||||
internal val PARENTENTITY_CONNECTION_ID: ConnectionId = ConnectionId.create(
|
||||
CompositePackagingElementEntity::class.java, PackagingElementEntity::class.java, ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY,
|
||||
true
|
||||
)
|
||||
internal val ARTIFACT_CONNECTION_ID: ConnectionId = ConnectionId.create(
|
||||
ArtifactEntity::class.java, CompositePackagingElementEntity::class.java, ConnectionId.ConnectionType.ABSTRACT_ONE_TO_ONE, true
|
||||
)
|
||||
internal val CHILDREN_CONNECTION_ID: ConnectionId = ConnectionId.create(
|
||||
CompositePackagingElementEntity::class.java, PackagingElementEntity::class.java, ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY,
|
||||
true
|
||||
)
|
||||
|
||||
private val connections = listOf<ConnectionId>(
|
||||
PARENTENTITY_CONNECTION_ID,
|
||||
@@ -83,8 +77,8 @@ internal class ArtifactRootElementEntityImpl(private val dataSource: ArtifactRoo
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: ArtifactRootElementEntityData?) : ModifiableWorkspaceEntityBase<ArtifactRootElementEntity, ArtifactRootElementEntityData>(
|
||||
result), ArtifactRootElementEntity.Builder {
|
||||
internal class Builder(result: ArtifactRootElementEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<ArtifactRootElementEntity, ArtifactRootElementEntityData>(result), ArtifactRootElementEntity.Builder {
|
||||
internal constructor() : this(ArtifactRootElementEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -154,14 +148,17 @@ internal class ArtifactRootElementEntityImpl(private val dataSource: ArtifactRoo
|
||||
val _diff = diff
|
||||
return if (_diff != null) {
|
||||
@OptIn(EntityStorageInstrumentationApi::class)
|
||||
((_diff as MutableEntityStorageInstrumentation).getParentBuilder(PARENTENTITY_CONNECTION_ID,
|
||||
this) as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
?: (this.entityLinks[EntityLink(false,
|
||||
PARENTENTITY_CONNECTION_ID)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
((_diff as MutableEntityStorageInstrumentation).getParentBuilder(
|
||||
PARENTENTITY_CONNECTION_ID, this
|
||||
) as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
?: (this.entityLinks[EntityLink(
|
||||
false, PARENTENTITY_CONNECTION_ID
|
||||
)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
}
|
||||
else {
|
||||
this.entityLinks[EntityLink(false,
|
||||
PARENTENTITY_CONNECTION_ID)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>
|
||||
this.entityLinks[EntityLink(
|
||||
false, PARENTENTITY_CONNECTION_ID
|
||||
)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>
|
||||
}
|
||||
}
|
||||
set(value) {
|
||||
@@ -233,8 +230,8 @@ internal class ArtifactRootElementEntityImpl(private val dataSource: ArtifactRoo
|
||||
val _diff = diff
|
||||
return if (_diff != null) {
|
||||
@OptIn(EntityStorageInstrumentationApi::class)
|
||||
((_diff as MutableEntityStorageInstrumentation).getManyChildrenBuilders(CHILDREN_CONNECTION_ID,
|
||||
this)!!.toList() as List<PackagingElementEntity.Builder<out PackagingElementEntity>>) +
|
||||
((_diff as MutableEntityStorageInstrumentation).getManyChildrenBuilders(CHILDREN_CONNECTION_ID, this)!!
|
||||
.toList() as List<PackagingElementEntity.Builder<out PackagingElementEntity>>) +
|
||||
(this.entityLinks[EntityLink(true, CHILDREN_CONNECTION_ID)] as? List<PackagingElementEntity.Builder<out PackagingElementEntity>>
|
||||
?: emptyList())
|
||||
}
|
||||
@@ -309,7 +306,8 @@ internal class ArtifactRootElementEntityData : WorkspaceEntityData<ArtifactRootE
|
||||
|
||||
override fun createDetachedEntity(parents: List<WorkspaceEntity.Builder<*>>): WorkspaceEntity.Builder<*> {
|
||||
return ArtifactRootElementEntity(entitySource) {
|
||||
this.parentEntity = parents.filterIsInstance<CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>>().singleOrNull()
|
||||
this.parentEntity =
|
||||
parents.filterIsInstance<CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>>().singleOrNull()
|
||||
this.artifact = parents.filterIsInstance<ArtifactEntity.Builder>().singleOrNull()
|
||||
}
|
||||
}
|
||||
|
||||
+4
-12
@@ -6,14 +6,6 @@ import com.intellij.openapi.util.NlsSafe
|
||||
import com.intellij.platform.workspace.jps.entities.LibraryId
|
||||
import com.intellij.platform.workspace.jps.entities.ModuleId
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeApiVersion
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeImplVersion
|
||||
import com.intellij.platform.workspace.storage.MutableEntityStorage
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntity
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntityInternalApi
|
||||
import com.intellij.platform.workspace.storage.annotations.Abstract
|
||||
import com.intellij.platform.workspace.storage.annotations.Child
|
||||
import com.intellij.platform.workspace.storage.impl.ModifiableWorkspaceEntityBase
|
||||
@@ -30,8 +22,8 @@ import org.jetbrains.annotations.NonNls
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class ArtifactsOrderEntityImpl(private val dataSource: ArtifactsOrderEntityData) : ArtifactsOrderEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class ArtifactsOrderEntityImpl(private val dataSource: ArtifactsOrderEntityData) : ArtifactsOrderEntity,
|
||||
WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
|
||||
@@ -58,8 +50,8 @@ internal class ArtifactsOrderEntityImpl(private val dataSource: ArtifactsOrderEn
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: ArtifactsOrderEntityData?) : ModifiableWorkspaceEntityBase<ArtifactsOrderEntity, ArtifactsOrderEntityData>(
|
||||
result), ArtifactsOrderEntity.Builder {
|
||||
internal class Builder(result: ArtifactsOrderEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<ArtifactsOrderEntity, ArtifactsOrderEntityData>(result), ArtifactsOrderEntity.Builder {
|
||||
internal constructor() : this(ArtifactsOrderEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
|
||||
+31
-30
@@ -9,14 +9,6 @@ import com.intellij.openapi.util.NlsSafe
|
||||
import com.intellij.platform.workspace.jps.entities.LibraryId
|
||||
import com.intellij.platform.workspace.jps.entities.ModuleId
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeApiVersion
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeImplVersion
|
||||
import com.intellij.platform.workspace.storage.MutableEntityStorage
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntity
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntityInternalApi
|
||||
import com.intellij.platform.workspace.storage.annotations.Abstract
|
||||
import com.intellij.platform.workspace.storage.annotations.Child
|
||||
import com.intellij.platform.workspace.storage.impl.EntityLink
|
||||
@@ -41,19 +33,23 @@ import org.jetbrains.annotations.NonNls
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class CustomPackagingElementEntityImpl(private val dataSource: CustomPackagingElementEntityData) : CustomPackagingElementEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class CustomPackagingElementEntityImpl(private val dataSource: CustomPackagingElementEntityData) : CustomPackagingElementEntity,
|
||||
WorkspaceEntityBase(
|
||||
dataSource
|
||||
) {
|
||||
|
||||
private companion object {
|
||||
internal val PARENTENTITY_CONNECTION_ID: ConnectionId = ConnectionId.create(CompositePackagingElementEntity::class.java,
|
||||
PackagingElementEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY, true)
|
||||
internal val ARTIFACT_CONNECTION_ID: ConnectionId = ConnectionId.create(ArtifactEntity::class.java,
|
||||
CompositePackagingElementEntity::class.java,
|
||||
ConnectionId.ConnectionType.ABSTRACT_ONE_TO_ONE, true)
|
||||
internal val CHILDREN_CONNECTION_ID: ConnectionId = ConnectionId.create(CompositePackagingElementEntity::class.java,
|
||||
PackagingElementEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY, true)
|
||||
internal val PARENTENTITY_CONNECTION_ID: ConnectionId = ConnectionId.create(
|
||||
CompositePackagingElementEntity::class.java, PackagingElementEntity::class.java, ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY,
|
||||
true
|
||||
)
|
||||
internal val ARTIFACT_CONNECTION_ID: ConnectionId = ConnectionId.create(
|
||||
ArtifactEntity::class.java, CompositePackagingElementEntity::class.java, ConnectionId.ConnectionType.ABSTRACT_ONE_TO_ONE, true
|
||||
)
|
||||
internal val CHILDREN_CONNECTION_ID: ConnectionId = ConnectionId.create(
|
||||
CompositePackagingElementEntity::class.java, PackagingElementEntity::class.java, ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY,
|
||||
true
|
||||
)
|
||||
|
||||
private val connections = listOf<ConnectionId>(
|
||||
PARENTENTITY_CONNECTION_ID,
|
||||
@@ -95,8 +91,9 @@ internal class CustomPackagingElementEntityImpl(private val dataSource: CustomPa
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: CustomPackagingElementEntityData?) : ModifiableWorkspaceEntityBase<CustomPackagingElementEntity, CustomPackagingElementEntityData>(
|
||||
result), CustomPackagingElementEntity.Builder {
|
||||
internal class Builder(result: CustomPackagingElementEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<CustomPackagingElementEntity, CustomPackagingElementEntityData>(result),
|
||||
CustomPackagingElementEntity.Builder {
|
||||
internal constructor() : this(CustomPackagingElementEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -174,14 +171,17 @@ internal class CustomPackagingElementEntityImpl(private val dataSource: CustomPa
|
||||
val _diff = diff
|
||||
return if (_diff != null) {
|
||||
@OptIn(EntityStorageInstrumentationApi::class)
|
||||
((_diff as MutableEntityStorageInstrumentation).getParentBuilder(PARENTENTITY_CONNECTION_ID,
|
||||
this) as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
?: (this.entityLinks[EntityLink(false,
|
||||
PARENTENTITY_CONNECTION_ID)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
((_diff as MutableEntityStorageInstrumentation).getParentBuilder(
|
||||
PARENTENTITY_CONNECTION_ID, this
|
||||
) as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
?: (this.entityLinks[EntityLink(
|
||||
false, PARENTENTITY_CONNECTION_ID
|
||||
)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
}
|
||||
else {
|
||||
this.entityLinks[EntityLink(false,
|
||||
PARENTENTITY_CONNECTION_ID)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>
|
||||
this.entityLinks[EntityLink(
|
||||
false, PARENTENTITY_CONNECTION_ID
|
||||
)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>
|
||||
}
|
||||
}
|
||||
set(value) {
|
||||
@@ -253,8 +253,8 @@ internal class CustomPackagingElementEntityImpl(private val dataSource: CustomPa
|
||||
val _diff = diff
|
||||
return if (_diff != null) {
|
||||
@OptIn(EntityStorageInstrumentationApi::class)
|
||||
((_diff as MutableEntityStorageInstrumentation).getManyChildrenBuilders(CHILDREN_CONNECTION_ID,
|
||||
this)!!.toList() as List<PackagingElementEntity.Builder<out PackagingElementEntity>>) +
|
||||
((_diff as MutableEntityStorageInstrumentation).getManyChildrenBuilders(CHILDREN_CONNECTION_ID, this)!!
|
||||
.toList() as List<PackagingElementEntity.Builder<out PackagingElementEntity>>) +
|
||||
(this.entityLinks[EntityLink(true, CHILDREN_CONNECTION_ID)] as? List<PackagingElementEntity.Builder<out PackagingElementEntity>>
|
||||
?: emptyList())
|
||||
}
|
||||
@@ -349,7 +349,8 @@ internal class CustomPackagingElementEntityData : WorkspaceEntityData<CustomPack
|
||||
|
||||
override fun createDetachedEntity(parents: List<WorkspaceEntity.Builder<*>>): WorkspaceEntity.Builder<*> {
|
||||
return CustomPackagingElementEntity(typeId, propertiesXmlTag, entitySource) {
|
||||
this.parentEntity = parents.filterIsInstance<CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>>().singleOrNull()
|
||||
this.parentEntity =
|
||||
parents.filterIsInstance<CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>>().singleOrNull()
|
||||
this.artifact = parents.filterIsInstance<ArtifactEntity.Builder>().singleOrNull()
|
||||
}
|
||||
}
|
||||
|
||||
+22
-23
@@ -8,14 +8,6 @@ import com.intellij.openapi.util.NlsSafe
|
||||
import com.intellij.platform.workspace.jps.entities.LibraryId
|
||||
import com.intellij.platform.workspace.jps.entities.ModuleId
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeApiVersion
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeImplVersion
|
||||
import com.intellij.platform.workspace.storage.MutableEntityStorage
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntity
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntityInternalApi
|
||||
import com.intellij.platform.workspace.storage.annotations.Abstract
|
||||
import com.intellij.platform.workspace.storage.annotations.Child
|
||||
import com.intellij.platform.workspace.storage.impl.EntityLink
|
||||
@@ -35,13 +27,14 @@ import org.jetbrains.annotations.NonNls
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class DirectoryCopyPackagingElementEntityImpl(private val dataSource: DirectoryCopyPackagingElementEntityData) : DirectoryCopyPackagingElementEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class DirectoryCopyPackagingElementEntityImpl(private val dataSource: DirectoryCopyPackagingElementEntityData) :
|
||||
DirectoryCopyPackagingElementEntity, WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
internal val PARENTENTITY_CONNECTION_ID: ConnectionId = ConnectionId.create(CompositePackagingElementEntity::class.java,
|
||||
PackagingElementEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY, true)
|
||||
internal val PARENTENTITY_CONNECTION_ID: ConnectionId = ConnectionId.create(
|
||||
CompositePackagingElementEntity::class.java, PackagingElementEntity::class.java, ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY,
|
||||
true
|
||||
)
|
||||
|
||||
private val connections = listOf<ConnectionId>(
|
||||
PARENTENTITY_CONNECTION_ID,
|
||||
@@ -69,8 +62,9 @@ internal class DirectoryCopyPackagingElementEntityImpl(private val dataSource: D
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: DirectoryCopyPackagingElementEntityData?) : ModifiableWorkspaceEntityBase<DirectoryCopyPackagingElementEntity, DirectoryCopyPackagingElementEntityData>(
|
||||
result), DirectoryCopyPackagingElementEntity.Builder {
|
||||
internal class Builder(result: DirectoryCopyPackagingElementEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<DirectoryCopyPackagingElementEntity, DirectoryCopyPackagingElementEntityData>(result),
|
||||
DirectoryCopyPackagingElementEntity.Builder {
|
||||
internal constructor() : this(DirectoryCopyPackagingElementEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -133,14 +127,17 @@ internal class DirectoryCopyPackagingElementEntityImpl(private val dataSource: D
|
||||
val _diff = diff
|
||||
return if (_diff != null) {
|
||||
@OptIn(EntityStorageInstrumentationApi::class)
|
||||
((_diff as MutableEntityStorageInstrumentation).getParentBuilder(PARENTENTITY_CONNECTION_ID,
|
||||
this) as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
?: (this.entityLinks[EntityLink(false,
|
||||
PARENTENTITY_CONNECTION_ID)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
((_diff as MutableEntityStorageInstrumentation).getParentBuilder(
|
||||
PARENTENTITY_CONNECTION_ID, this
|
||||
) as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
?: (this.entityLinks[EntityLink(
|
||||
false, PARENTENTITY_CONNECTION_ID
|
||||
)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
}
|
||||
else {
|
||||
this.entityLinks[EntityLink(false,
|
||||
PARENTENTITY_CONNECTION_ID)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>
|
||||
this.entityLinks[EntityLink(
|
||||
false, PARENTENTITY_CONNECTION_ID
|
||||
)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>
|
||||
}
|
||||
}
|
||||
set(value) {
|
||||
@@ -211,7 +208,8 @@ internal class DirectoryCopyPackagingElementEntityData : WorkspaceEntityData<Dir
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.java.workspace.entities.DirectoryCopyPackagingElementEntity") as EntityMetadata
|
||||
"com.intellij.java.workspace.entities.DirectoryCopyPackagingElementEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun getEntityInterface(): Class<out WorkspaceEntity> {
|
||||
@@ -220,7 +218,8 @@ internal class DirectoryCopyPackagingElementEntityData : WorkspaceEntityData<Dir
|
||||
|
||||
override fun createDetachedEntity(parents: List<WorkspaceEntity.Builder<*>>): WorkspaceEntity.Builder<*> {
|
||||
return DirectoryCopyPackagingElementEntity(filePath, entitySource) {
|
||||
this.parentEntity = parents.filterIsInstance<CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>>().singleOrNull()
|
||||
this.parentEntity =
|
||||
parents.filterIsInstance<CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>>().singleOrNull()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+31
-31
@@ -9,14 +9,6 @@ import com.intellij.openapi.util.NlsSafe
|
||||
import com.intellij.platform.workspace.jps.entities.LibraryId
|
||||
import com.intellij.platform.workspace.jps.entities.ModuleId
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeApiVersion
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeImplVersion
|
||||
import com.intellij.platform.workspace.storage.MutableEntityStorage
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntity
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntityInternalApi
|
||||
import com.intellij.platform.workspace.storage.annotations.Abstract
|
||||
import com.intellij.platform.workspace.storage.annotations.Child
|
||||
import com.intellij.platform.workspace.storage.impl.EntityLink
|
||||
@@ -41,19 +33,21 @@ import org.jetbrains.annotations.NonNls
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class DirectoryPackagingElementEntityImpl(private val dataSource: DirectoryPackagingElementEntityData) : DirectoryPackagingElementEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class DirectoryPackagingElementEntityImpl(private val dataSource: DirectoryPackagingElementEntityData) :
|
||||
DirectoryPackagingElementEntity, WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
internal val PARENTENTITY_CONNECTION_ID: ConnectionId = ConnectionId.create(CompositePackagingElementEntity::class.java,
|
||||
PackagingElementEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY, true)
|
||||
internal val ARTIFACT_CONNECTION_ID: ConnectionId = ConnectionId.create(ArtifactEntity::class.java,
|
||||
CompositePackagingElementEntity::class.java,
|
||||
ConnectionId.ConnectionType.ABSTRACT_ONE_TO_ONE, true)
|
||||
internal val CHILDREN_CONNECTION_ID: ConnectionId = ConnectionId.create(CompositePackagingElementEntity::class.java,
|
||||
PackagingElementEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY, true)
|
||||
internal val PARENTENTITY_CONNECTION_ID: ConnectionId = ConnectionId.create(
|
||||
CompositePackagingElementEntity::class.java, PackagingElementEntity::class.java, ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY,
|
||||
true
|
||||
)
|
||||
internal val ARTIFACT_CONNECTION_ID: ConnectionId = ConnectionId.create(
|
||||
ArtifactEntity::class.java, CompositePackagingElementEntity::class.java, ConnectionId.ConnectionType.ABSTRACT_ONE_TO_ONE, true
|
||||
)
|
||||
internal val CHILDREN_CONNECTION_ID: ConnectionId = ConnectionId.create(
|
||||
CompositePackagingElementEntity::class.java, PackagingElementEntity::class.java, ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY,
|
||||
true
|
||||
)
|
||||
|
||||
private val connections = listOf<ConnectionId>(
|
||||
PARENTENTITY_CONNECTION_ID,
|
||||
@@ -89,8 +83,9 @@ internal class DirectoryPackagingElementEntityImpl(private val dataSource: Direc
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: DirectoryPackagingElementEntityData?) : ModifiableWorkspaceEntityBase<DirectoryPackagingElementEntity, DirectoryPackagingElementEntityData>(
|
||||
result), DirectoryPackagingElementEntity.Builder {
|
||||
internal class Builder(result: DirectoryPackagingElementEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<DirectoryPackagingElementEntity, DirectoryPackagingElementEntityData>(result),
|
||||
DirectoryPackagingElementEntity.Builder {
|
||||
internal constructor() : this(DirectoryPackagingElementEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -164,14 +159,17 @@ internal class DirectoryPackagingElementEntityImpl(private val dataSource: Direc
|
||||
val _diff = diff
|
||||
return if (_diff != null) {
|
||||
@OptIn(EntityStorageInstrumentationApi::class)
|
||||
((_diff as MutableEntityStorageInstrumentation).getParentBuilder(PARENTENTITY_CONNECTION_ID,
|
||||
this) as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
?: (this.entityLinks[EntityLink(false,
|
||||
PARENTENTITY_CONNECTION_ID)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
((_diff as MutableEntityStorageInstrumentation).getParentBuilder(
|
||||
PARENTENTITY_CONNECTION_ID, this
|
||||
) as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
?: (this.entityLinks[EntityLink(
|
||||
false, PARENTENTITY_CONNECTION_ID
|
||||
)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
}
|
||||
else {
|
||||
this.entityLinks[EntityLink(false,
|
||||
PARENTENTITY_CONNECTION_ID)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>
|
||||
this.entityLinks[EntityLink(
|
||||
false, PARENTENTITY_CONNECTION_ID
|
||||
)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>
|
||||
}
|
||||
}
|
||||
set(value) {
|
||||
@@ -243,8 +241,8 @@ internal class DirectoryPackagingElementEntityImpl(private val dataSource: Direc
|
||||
val _diff = diff
|
||||
return if (_diff != null) {
|
||||
@OptIn(EntityStorageInstrumentationApi::class)
|
||||
((_diff as MutableEntityStorageInstrumentation).getManyChildrenBuilders(CHILDREN_CONNECTION_ID,
|
||||
this)!!.toList() as List<PackagingElementEntity.Builder<out PackagingElementEntity>>) +
|
||||
((_diff as MutableEntityStorageInstrumentation).getManyChildrenBuilders(CHILDREN_CONNECTION_ID, this)!!
|
||||
.toList() as List<PackagingElementEntity.Builder<out PackagingElementEntity>>) +
|
||||
(this.entityLinks[EntityLink(true, CHILDREN_CONNECTION_ID)] as? List<PackagingElementEntity.Builder<out PackagingElementEntity>>
|
||||
?: emptyList())
|
||||
}
|
||||
@@ -321,7 +319,8 @@ internal class DirectoryPackagingElementEntityData : WorkspaceEntityData<Directo
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.java.workspace.entities.DirectoryPackagingElementEntity") as EntityMetadata
|
||||
"com.intellij.java.workspace.entities.DirectoryPackagingElementEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun getEntityInterface(): Class<out WorkspaceEntity> {
|
||||
@@ -330,7 +329,8 @@ internal class DirectoryPackagingElementEntityData : WorkspaceEntityData<Directo
|
||||
|
||||
override fun createDetachedEntity(parents: List<WorkspaceEntity.Builder<*>>): WorkspaceEntity.Builder<*> {
|
||||
return DirectoryPackagingElementEntity(directoryName, entitySource) {
|
||||
this.parentEntity = parents.filterIsInstance<CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>>().singleOrNull()
|
||||
this.parentEntity =
|
||||
parents.filterIsInstance<CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>>().singleOrNull()
|
||||
this.artifact = parents.filterIsInstance<ArtifactEntity.Builder>().singleOrNull()
|
||||
}
|
||||
}
|
||||
|
||||
+22
-23
@@ -8,14 +8,6 @@ import com.intellij.openapi.util.NlsSafe
|
||||
import com.intellij.platform.workspace.jps.entities.LibraryId
|
||||
import com.intellij.platform.workspace.jps.entities.ModuleId
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeApiVersion
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeImplVersion
|
||||
import com.intellij.platform.workspace.storage.MutableEntityStorage
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntity
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntityInternalApi
|
||||
import com.intellij.platform.workspace.storage.annotations.Abstract
|
||||
import com.intellij.platform.workspace.storage.annotations.Child
|
||||
import com.intellij.platform.workspace.storage.impl.EntityLink
|
||||
@@ -35,13 +27,14 @@ import org.jetbrains.annotations.NonNls
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class ExtractedDirectoryPackagingElementEntityImpl(private val dataSource: ExtractedDirectoryPackagingElementEntityData) : ExtractedDirectoryPackagingElementEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class ExtractedDirectoryPackagingElementEntityImpl(private val dataSource: ExtractedDirectoryPackagingElementEntityData) :
|
||||
ExtractedDirectoryPackagingElementEntity, WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
internal val PARENTENTITY_CONNECTION_ID: ConnectionId = ConnectionId.create(CompositePackagingElementEntity::class.java,
|
||||
PackagingElementEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY, true)
|
||||
internal val PARENTENTITY_CONNECTION_ID: ConnectionId = ConnectionId.create(
|
||||
CompositePackagingElementEntity::class.java, PackagingElementEntity::class.java, ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY,
|
||||
true
|
||||
)
|
||||
|
||||
private val connections = listOf<ConnectionId>(
|
||||
PARENTENTITY_CONNECTION_ID,
|
||||
@@ -75,8 +68,9 @@ internal class ExtractedDirectoryPackagingElementEntityImpl(private val dataSour
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: ExtractedDirectoryPackagingElementEntityData?) : ModifiableWorkspaceEntityBase<ExtractedDirectoryPackagingElementEntity, ExtractedDirectoryPackagingElementEntityData>(
|
||||
result), ExtractedDirectoryPackagingElementEntity.Builder {
|
||||
internal class Builder(result: ExtractedDirectoryPackagingElementEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<ExtractedDirectoryPackagingElementEntity, ExtractedDirectoryPackagingElementEntityData>(result),
|
||||
ExtractedDirectoryPackagingElementEntity.Builder {
|
||||
internal constructor() : this(ExtractedDirectoryPackagingElementEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -143,14 +137,17 @@ internal class ExtractedDirectoryPackagingElementEntityImpl(private val dataSour
|
||||
val _diff = diff
|
||||
return if (_diff != null) {
|
||||
@OptIn(EntityStorageInstrumentationApi::class)
|
||||
((_diff as MutableEntityStorageInstrumentation).getParentBuilder(PARENTENTITY_CONNECTION_ID,
|
||||
this) as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
?: (this.entityLinks[EntityLink(false,
|
||||
PARENTENTITY_CONNECTION_ID)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
((_diff as MutableEntityStorageInstrumentation).getParentBuilder(
|
||||
PARENTENTITY_CONNECTION_ID, this
|
||||
) as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
?: (this.entityLinks[EntityLink(
|
||||
false, PARENTENTITY_CONNECTION_ID
|
||||
)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
}
|
||||
else {
|
||||
this.entityLinks[EntityLink(false,
|
||||
PARENTENTITY_CONNECTION_ID)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>
|
||||
this.entityLinks[EntityLink(
|
||||
false, PARENTENTITY_CONNECTION_ID
|
||||
)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>
|
||||
}
|
||||
}
|
||||
set(value) {
|
||||
@@ -231,7 +228,8 @@ internal class ExtractedDirectoryPackagingElementEntityData : WorkspaceEntityDat
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.java.workspace.entities.ExtractedDirectoryPackagingElementEntity") as EntityMetadata
|
||||
"com.intellij.java.workspace.entities.ExtractedDirectoryPackagingElementEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun getEntityInterface(): Class<out WorkspaceEntity> {
|
||||
@@ -240,7 +238,8 @@ internal class ExtractedDirectoryPackagingElementEntityData : WorkspaceEntityDat
|
||||
|
||||
override fun createDetachedEntity(parents: List<WorkspaceEntity.Builder<*>>): WorkspaceEntity.Builder<*> {
|
||||
return ExtractedDirectoryPackagingElementEntity(filePath, pathInArchive, entitySource) {
|
||||
this.parentEntity = parents.filterIsInstance<CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>>().singleOrNull()
|
||||
this.parentEntity =
|
||||
parents.filterIsInstance<CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>>().singleOrNull()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+20
-22
@@ -8,14 +8,6 @@ import com.intellij.openapi.util.NlsSafe
|
||||
import com.intellij.platform.workspace.jps.entities.LibraryId
|
||||
import com.intellij.platform.workspace.jps.entities.ModuleId
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeApiVersion
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeImplVersion
|
||||
import com.intellij.platform.workspace.storage.MutableEntityStorage
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntity
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntityInternalApi
|
||||
import com.intellij.platform.workspace.storage.annotations.Abstract
|
||||
import com.intellij.platform.workspace.storage.annotations.Child
|
||||
import com.intellij.platform.workspace.storage.impl.EntityLink
|
||||
@@ -35,13 +27,14 @@ import org.jetbrains.annotations.NonNls
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class FileCopyPackagingElementEntityImpl(private val dataSource: FileCopyPackagingElementEntityData) : FileCopyPackagingElementEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class FileCopyPackagingElementEntityImpl(private val dataSource: FileCopyPackagingElementEntityData) :
|
||||
FileCopyPackagingElementEntity, WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
internal val PARENTENTITY_CONNECTION_ID: ConnectionId = ConnectionId.create(CompositePackagingElementEntity::class.java,
|
||||
PackagingElementEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY, true)
|
||||
internal val PARENTENTITY_CONNECTION_ID: ConnectionId = ConnectionId.create(
|
||||
CompositePackagingElementEntity::class.java, PackagingElementEntity::class.java, ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY,
|
||||
true
|
||||
)
|
||||
|
||||
private val connections = listOf<ConnectionId>(
|
||||
PARENTENTITY_CONNECTION_ID,
|
||||
@@ -75,8 +68,9 @@ internal class FileCopyPackagingElementEntityImpl(private val dataSource: FileCo
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: FileCopyPackagingElementEntityData?) : ModifiableWorkspaceEntityBase<FileCopyPackagingElementEntity, FileCopyPackagingElementEntityData>(
|
||||
result), FileCopyPackagingElementEntity.Builder {
|
||||
internal class Builder(result: FileCopyPackagingElementEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<FileCopyPackagingElementEntity, FileCopyPackagingElementEntityData>(result),
|
||||
FileCopyPackagingElementEntity.Builder {
|
||||
internal constructor() : this(FileCopyPackagingElementEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -140,14 +134,17 @@ internal class FileCopyPackagingElementEntityImpl(private val dataSource: FileCo
|
||||
val _diff = diff
|
||||
return if (_diff != null) {
|
||||
@OptIn(EntityStorageInstrumentationApi::class)
|
||||
((_diff as MutableEntityStorageInstrumentation).getParentBuilder(PARENTENTITY_CONNECTION_ID,
|
||||
this) as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
?: (this.entityLinks[EntityLink(false,
|
||||
PARENTENTITY_CONNECTION_ID)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
((_diff as MutableEntityStorageInstrumentation).getParentBuilder(
|
||||
PARENTENTITY_CONNECTION_ID, this
|
||||
) as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
?: (this.entityLinks[EntityLink(
|
||||
false, PARENTENTITY_CONNECTION_ID
|
||||
)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
}
|
||||
else {
|
||||
this.entityLinks[EntityLink(false,
|
||||
PARENTENTITY_CONNECTION_ID)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>
|
||||
this.entityLinks[EntityLink(
|
||||
false, PARENTENTITY_CONNECTION_ID
|
||||
)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>
|
||||
}
|
||||
}
|
||||
set(value) {
|
||||
@@ -236,7 +233,8 @@ internal class FileCopyPackagingElementEntityData : WorkspaceEntityData<FileCopy
|
||||
override fun createDetachedEntity(parents: List<WorkspaceEntity.Builder<*>>): WorkspaceEntity.Builder<*> {
|
||||
return FileCopyPackagingElementEntity(filePath, entitySource) {
|
||||
this.renamedOutputFileName = this@FileCopyPackagingElementEntityData.renamedOutputFileName
|
||||
this.parentEntity = parents.filterIsInstance<CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>>().singleOrNull()
|
||||
this.parentEntity =
|
||||
parents.filterIsInstance<CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>>().singleOrNull()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+8
-7
@@ -29,12 +29,12 @@ import org.jetbrains.annotations.NonNls
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class JavaModuleSettingsEntityImpl(private val dataSource: JavaModuleSettingsEntityData) : JavaModuleSettingsEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class JavaModuleSettingsEntityImpl(private val dataSource: JavaModuleSettingsEntityData) : JavaModuleSettingsEntity,
|
||||
WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
internal val MODULE_CONNECTION_ID: ConnectionId = ConnectionId.create(ModuleEntity::class.java, JavaModuleSettingsEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_ONE, false)
|
||||
internal val MODULE_CONNECTION_ID: ConnectionId =
|
||||
ConnectionId.create(ModuleEntity::class.java, JavaModuleSettingsEntity::class.java, ConnectionId.ConnectionType.ONE_TO_ONE, false)
|
||||
|
||||
private val connections = listOf<ConnectionId>(
|
||||
MODULE_CONNECTION_ID,
|
||||
@@ -86,8 +86,8 @@ internal class JavaModuleSettingsEntityImpl(private val dataSource: JavaModuleSe
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: JavaModuleSettingsEntityData?) : ModifiableWorkspaceEntityBase<JavaModuleSettingsEntity, JavaModuleSettingsEntityData>(
|
||||
result), JavaModuleSettingsEntity.Builder {
|
||||
internal class Builder(result: JavaModuleSettingsEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<JavaModuleSettingsEntity, JavaModuleSettingsEntityData>(result), JavaModuleSettingsEntity.Builder {
|
||||
internal constructor() : this(JavaModuleSettingsEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -140,7 +140,8 @@ internal class JavaModuleSettingsEntityImpl(private val dataSource: JavaModuleSe
|
||||
override fun relabel(dataSource: WorkspaceEntity, parents: Set<WorkspaceEntity>?) {
|
||||
dataSource as JavaModuleSettingsEntity
|
||||
if (this.entitySource != dataSource.entitySource) this.entitySource = dataSource.entitySource
|
||||
if (this.inheritedCompilerOutput != dataSource.inheritedCompilerOutput) this.inheritedCompilerOutput = dataSource.inheritedCompilerOutput
|
||||
if (this.inheritedCompilerOutput != dataSource.inheritedCompilerOutput) this.inheritedCompilerOutput =
|
||||
dataSource.inheritedCompilerOutput
|
||||
if (this.excludeOutput != dataSource.excludeOutput) this.excludeOutput = dataSource.excludeOutput
|
||||
if (this.compilerOutput != dataSource?.compilerOutput) this.compilerOutput = dataSource.compilerOutput
|
||||
if (this.compilerOutputForTests != dataSource?.compilerOutputForTests) this.compilerOutputForTests = dataSource.compilerOutputForTests
|
||||
|
||||
+10
-8
@@ -27,13 +27,13 @@ import com.intellij.platform.workspace.storage.metadata.model.EntityMetadata
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class JavaResourceRootPropertiesEntityImpl(private val dataSource: JavaResourceRootPropertiesEntityData) : JavaResourceRootPropertiesEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class JavaResourceRootPropertiesEntityImpl(private val dataSource: JavaResourceRootPropertiesEntityData) :
|
||||
JavaResourceRootPropertiesEntity, WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
internal val SOURCEROOT_CONNECTION_ID: ConnectionId = ConnectionId.create(SourceRootEntity::class.java,
|
||||
JavaResourceRootPropertiesEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_MANY, false)
|
||||
internal val SOURCEROOT_CONNECTION_ID: ConnectionId = ConnectionId.create(
|
||||
SourceRootEntity::class.java, JavaResourceRootPropertiesEntity::class.java, ConnectionId.ConnectionType.ONE_TO_MANY, false
|
||||
)
|
||||
|
||||
private val connections = listOf<ConnectionId>(
|
||||
SOURCEROOT_CONNECTION_ID,
|
||||
@@ -66,8 +66,9 @@ internal class JavaResourceRootPropertiesEntityImpl(private val dataSource: Java
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: JavaResourceRootPropertiesEntityData?) : ModifiableWorkspaceEntityBase<JavaResourceRootPropertiesEntity, JavaResourceRootPropertiesEntityData>(
|
||||
result), JavaResourceRootPropertiesEntity.Builder {
|
||||
internal class Builder(result: JavaResourceRootPropertiesEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<JavaResourceRootPropertiesEntity, JavaResourceRootPropertiesEntityData>(result),
|
||||
JavaResourceRootPropertiesEntity.Builder {
|
||||
internal constructor() : this(JavaResourceRootPropertiesEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -224,7 +225,8 @@ internal class JavaResourceRootPropertiesEntityData : WorkspaceEntityData<JavaRe
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.java.workspace.entities.JavaResourceRootPropertiesEntity") as EntityMetadata
|
||||
"com.intellij.java.workspace.entities.JavaResourceRootPropertiesEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun getEntityInterface(): Class<out WorkspaceEntity> {
|
||||
|
||||
+8
-7
@@ -27,13 +27,13 @@ import com.intellij.platform.workspace.storage.metadata.model.EntityMetadata
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class JavaSourceRootPropertiesEntityImpl(private val dataSource: JavaSourceRootPropertiesEntityData) : JavaSourceRootPropertiesEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class JavaSourceRootPropertiesEntityImpl(private val dataSource: JavaSourceRootPropertiesEntityData) :
|
||||
JavaSourceRootPropertiesEntity, WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
internal val SOURCEROOT_CONNECTION_ID: ConnectionId = ConnectionId.create(SourceRootEntity::class.java,
|
||||
JavaSourceRootPropertiesEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_MANY, false)
|
||||
internal val SOURCEROOT_CONNECTION_ID: ConnectionId = ConnectionId.create(
|
||||
SourceRootEntity::class.java, JavaSourceRootPropertiesEntity::class.java, ConnectionId.ConnectionType.ONE_TO_MANY, false
|
||||
)
|
||||
|
||||
private val connections = listOf<ConnectionId>(
|
||||
SOURCEROOT_CONNECTION_ID,
|
||||
@@ -66,8 +66,9 @@ internal class JavaSourceRootPropertiesEntityImpl(private val dataSource: JavaSo
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: JavaSourceRootPropertiesEntityData?) : ModifiableWorkspaceEntityBase<JavaSourceRootPropertiesEntity, JavaSourceRootPropertiesEntityData>(
|
||||
result), JavaSourceRootPropertiesEntity.Builder {
|
||||
internal class Builder(result: JavaSourceRootPropertiesEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<JavaSourceRootPropertiesEntity, JavaSourceRootPropertiesEntityData>(result),
|
||||
JavaSourceRootPropertiesEntity.Builder {
|
||||
internal constructor() : this(JavaSourceRootPropertiesEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
|
||||
+22
-24
@@ -8,15 +8,6 @@ import com.intellij.openapi.util.NlsSafe
|
||||
import com.intellij.platform.workspace.jps.entities.LibraryId
|
||||
import com.intellij.platform.workspace.jps.entities.ModuleId
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeApiVersion
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeImplVersion
|
||||
import com.intellij.platform.workspace.storage.MutableEntityStorage
|
||||
import com.intellij.platform.workspace.storage.SymbolicEntityId
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntity
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntityInternalApi
|
||||
import com.intellij.platform.workspace.storage.annotations.Abstract
|
||||
import com.intellij.platform.workspace.storage.annotations.Child
|
||||
import com.intellij.platform.workspace.storage.impl.EntityLink
|
||||
@@ -38,13 +29,14 @@ import org.jetbrains.annotations.NonNls
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class LibraryFilesPackagingElementEntityImpl(private val dataSource: LibraryFilesPackagingElementEntityData) : LibraryFilesPackagingElementEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class LibraryFilesPackagingElementEntityImpl(private val dataSource: LibraryFilesPackagingElementEntityData) :
|
||||
LibraryFilesPackagingElementEntity, WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
internal val PARENTENTITY_CONNECTION_ID: ConnectionId = ConnectionId.create(CompositePackagingElementEntity::class.java,
|
||||
PackagingElementEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY, true)
|
||||
internal val PARENTENTITY_CONNECTION_ID: ConnectionId = ConnectionId.create(
|
||||
CompositePackagingElementEntity::class.java, PackagingElementEntity::class.java, ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY,
|
||||
true
|
||||
)
|
||||
|
||||
private val connections = listOf<ConnectionId>(
|
||||
PARENTENTITY_CONNECTION_ID,
|
||||
@@ -72,8 +64,9 @@ internal class LibraryFilesPackagingElementEntityImpl(private val dataSource: Li
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: LibraryFilesPackagingElementEntityData?) : ModifiableWorkspaceEntityBase<LibraryFilesPackagingElementEntity, LibraryFilesPackagingElementEntityData>(
|
||||
result), LibraryFilesPackagingElementEntity.Builder {
|
||||
internal class Builder(result: LibraryFilesPackagingElementEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<LibraryFilesPackagingElementEntity, LibraryFilesPackagingElementEntityData>(result),
|
||||
LibraryFilesPackagingElementEntity.Builder {
|
||||
internal constructor() : this(LibraryFilesPackagingElementEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -133,14 +126,17 @@ internal class LibraryFilesPackagingElementEntityImpl(private val dataSource: Li
|
||||
val _diff = diff
|
||||
return if (_diff != null) {
|
||||
@OptIn(EntityStorageInstrumentationApi::class)
|
||||
((_diff as MutableEntityStorageInstrumentation).getParentBuilder(PARENTENTITY_CONNECTION_ID,
|
||||
this) as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
?: (this.entityLinks[EntityLink(false,
|
||||
PARENTENTITY_CONNECTION_ID)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
((_diff as MutableEntityStorageInstrumentation).getParentBuilder(
|
||||
PARENTENTITY_CONNECTION_ID, this
|
||||
) as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
?: (this.entityLinks[EntityLink(
|
||||
false, PARENTENTITY_CONNECTION_ID
|
||||
)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
}
|
||||
else {
|
||||
this.entityLinks[EntityLink(false,
|
||||
PARENTENTITY_CONNECTION_ID)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>
|
||||
this.entityLinks[EntityLink(
|
||||
false, PARENTENTITY_CONNECTION_ID
|
||||
)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>
|
||||
}
|
||||
}
|
||||
set(value) {
|
||||
@@ -261,7 +257,8 @@ internal class LibraryFilesPackagingElementEntityData : WorkspaceEntityData<Libr
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.java.workspace.entities.LibraryFilesPackagingElementEntity") as EntityMetadata
|
||||
"com.intellij.java.workspace.entities.LibraryFilesPackagingElementEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun getEntityInterface(): Class<out WorkspaceEntity> {
|
||||
@@ -271,7 +268,8 @@ internal class LibraryFilesPackagingElementEntityData : WorkspaceEntityData<Libr
|
||||
override fun createDetachedEntity(parents: List<WorkspaceEntity.Builder<*>>): WorkspaceEntity.Builder<*> {
|
||||
return LibraryFilesPackagingElementEntity(entitySource) {
|
||||
this.library = this@LibraryFilesPackagingElementEntityData.library
|
||||
this.parentEntity = parents.filterIsInstance<CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>>().singleOrNull()
|
||||
this.parentEntity =
|
||||
parents.filterIsInstance<CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>>().singleOrNull()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+275
-320
@@ -1,4 +1,3 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.java.workspace.entities.impl
|
||||
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
@@ -21,167 +20,125 @@ internal object MetadataStorageImpl: MetadataStorageBase() {
|
||||
val primitiveTypeStringNullable = ValueTypeMetadata.SimpleType.PrimitiveType(isNullable = true, type = "String")
|
||||
val primitiveTypeListNotNullable = ValueTypeMetadata.SimpleType.PrimitiveType(isNullable = false, type = "List")
|
||||
val primitiveTypeMapNotNullable = ValueTypeMetadata.SimpleType.PrimitiveType(isNullable = false, type = "Map")
|
||||
|
||||
|
||||
var typeMetadata: StorageTypeMetadata
|
||||
|
||||
typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.java.workspace.entities.ArtifactId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))
|
||||
|
||||
|
||||
typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.java.workspace.entities.ArtifactId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.java.configurationStore.SampleDummyParentCustomModuleEntitySource", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "internalSource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = ExtendableClassMetadata.AbstractClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsFileEntitySource", subclasses = listOf(FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectFileEntitySource\$FileInDirectory", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "fileNameId", valueType = primitiveTypeIntNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "virtualFileUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "directory", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectLocation", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation")), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.JpsProjectFileEntitySource",
|
||||
"com.intellij.platform.workspace.jps.JpsFileEntitySource",
|
||||
"com.intellij.platform.workspace.storage.EntitySource")),
|
||||
FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsGlobalFileEntitySource", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "file", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "virtualFileUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = true, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.JpsFileEntitySource",
|
||||
"com.intellij.platform.workspace.storage.EntitySource")),
|
||||
FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectFileEntitySource\$ExactFile", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "virtualFileUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "file", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectLocation", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = ExtendableClassMetadata.AbstractClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation", subclasses = listOf(FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation\$DirectoryBased", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "baseDirectoryUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectFilePath", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectDir", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "ideaFolder", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "baseDirectoryUrlString", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.JpsProjectConfigLocation")),
|
||||
FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation\$FileBased", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "baseDirectoryUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectFilePath", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "iprFile", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "iprFileParent", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "baseDirectoryUrlString", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.JpsProjectConfigLocation"))), supertypes = listOf())), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.JpsProjectFileEntitySource",
|
||||
"com.intellij.platform.workspace.jps.JpsFileEntitySource",
|
||||
"com.intellij.platform.workspace.storage.EntitySource"))), supertypes = listOf("com.intellij.platform.workspace.storage.EntitySource"))), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "virtualFileUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = true, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.CustomModuleEntitySource",
|
||||
"com.intellij.platform.workspace.storage.DummyParentEntitySource",
|
||||
"com.intellij.platform.workspace.storage.EntitySource"))
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectFileEntitySource\$FileInDirectory", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "fileNameId", valueType = primitiveTypeIntNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "virtualFileUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "directory", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectLocation", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = ExtendableClassMetadata.AbstractClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation", subclasses = listOf(FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation\$DirectoryBased", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "baseDirectoryUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectFilePath", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectDir", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "ideaFolder", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "baseDirectoryUrlString", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.JpsProjectConfigLocation")),
|
||||
FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation\$FileBased", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "baseDirectoryUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectFilePath", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "iprFile", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "iprFileParent", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "baseDirectoryUrlString", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.JpsProjectConfigLocation"))), supertypes = listOf())), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.JpsProjectFileEntitySource",
|
||||
"com.intellij.platform.workspace.jps.JpsFileEntitySource",
|
||||
"com.intellij.platform.workspace.storage.EntitySource"))
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsImportedEntitySource", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "originalSource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = ExtendableClassMetadata.AbstractClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsFileEntitySource", subclasses = listOf(FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectFileEntitySource\$FileInDirectory", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "fileNameId", valueType = primitiveTypeIntNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "virtualFileUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "directory", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectLocation", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation")), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.JpsProjectFileEntitySource",
|
||||
"com.intellij.platform.workspace.jps.JpsFileEntitySource",
|
||||
"com.intellij.platform.workspace.storage.EntitySource")),
|
||||
FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsGlobalFileEntitySource", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "file", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "virtualFileUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = true, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.JpsFileEntitySource",
|
||||
"com.intellij.platform.workspace.storage.EntitySource")),
|
||||
FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectFileEntitySource\$ExactFile", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "virtualFileUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "file", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectLocation", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = ExtendableClassMetadata.AbstractClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation", subclasses = listOf(FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation\$DirectoryBased", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "baseDirectoryUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectFilePath", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectDir", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "ideaFolder", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "baseDirectoryUrlString", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.JpsProjectConfigLocation")),
|
||||
FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation\$FileBased", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "baseDirectoryUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectFilePath", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "iprFile", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "iprFileParent", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "baseDirectoryUrlString", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.JpsProjectConfigLocation"))), supertypes = listOf())), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.JpsProjectFileEntitySource",
|
||||
"com.intellij.platform.workspace.jps.JpsFileEntitySource",
|
||||
"com.intellij.platform.workspace.storage.EntitySource"))), supertypes = listOf("com.intellij.platform.workspace.storage.EntitySource"))), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "virtualFileUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = true, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "internalFile", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.jps.JpsFileEntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "externalSystemId", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "storedExternally", valueType = primitiveTypeBooleanNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.EntitySource",
|
||||
"com.intellij.platform.workspace.jps.JpsFileDependentEntitySource"))
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.jetbrains.cidr.workspaceModelBridge.OCImportedModuleEntitySource", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "internalSource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.jps.JpsFileEntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "virtualFileUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = true, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false)), supertypes = listOf("com.jetbrains.cidr.workspaceModelBridge.OCEntitySource",
|
||||
"com.intellij.platform.workspace.jps.CustomModuleEntitySource",
|
||||
"com.intellij.platform.workspace.storage.EntitySource"))
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.jetbrains.cidr.workspaceModelBridge.OCEntityDummyModuleSource", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "internalSource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.jps.JpsFileEntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "virtualFileUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = true, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false)), supertypes = listOf("com.jetbrains.cidr.workspaceModelBridge.OCEntitySource",
|
||||
"com.intellij.platform.workspace.storage.DummyParentEntitySource",
|
||||
"com.intellij.platform.workspace.jps.CustomModuleEntitySource",
|
||||
"com.intellij.platform.workspace.storage.EntitySource"))
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsGlobalFileEntitySource", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "file", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "virtualFileUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = true, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.JpsFileEntitySource",
|
||||
"com.intellij.platform.workspace.storage.EntitySource"))
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
typeMetadata = FinalClassMetadata.ObjectMetadata(fqName = "com.intellij.platform.workspace.jps.OrphanageWorkerEntitySource", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "virtualFileUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = true, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.EntitySource"))
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectFileEntitySource\$ExactFile", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "virtualFileUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "file", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectLocation", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = ExtendableClassMetadata.AbstractClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation", subclasses = listOf(FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation\$DirectoryBased", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "baseDirectoryUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectFilePath", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectDir", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "ideaFolder", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "baseDirectoryUrlString", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.JpsProjectConfigLocation")),
|
||||
FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation\$FileBased", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "baseDirectoryUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectFilePath", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "iprFile", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "iprFileParent", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "baseDirectoryUrlString", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.JpsProjectConfigLocation"))), supertypes = listOf())), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.JpsProjectFileEntitySource",
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "virtualFileUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = true, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.GlobalStorageEntitySource",
|
||||
"com.intellij.platform.workspace.jps.JpsFileEntitySource",
|
||||
"com.intellij.platform.workspace.storage.EntitySource"))
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.LibraryId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "codeCache", valueType = primitiveTypeIntNotNullable, withDefault = false),
|
||||
|
||||
typeMetadata = FinalClassMetadata.ObjectMetadata(fqName = "com.intellij.platform.workspace.jps.OrphanageWorkerEntitySource", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "virtualFileUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = true, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.EntitySource"))
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectFileEntitySource\$FileInDirectory", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "directory", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "fileNameId", valueType = primitiveTypeIntNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectLocation", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = ExtendableClassMetadata.AbstractClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation", subclasses = listOf(FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation\$DirectoryBased", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "baseDirectoryUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "baseDirectoryUrlString", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "ideaFolder", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectDir", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectFilePath", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.JpsProjectConfigLocation")),
|
||||
FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation\$FileBased", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "baseDirectoryUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "baseDirectoryUrlString", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "iprFile", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "iprFileParent", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectFilePath", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.JpsProjectConfigLocation"))), supertypes = listOf())), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "virtualFileUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.JpsFileEntitySource",
|
||||
"com.intellij.platform.workspace.jps.JpsProjectFileEntitySource",
|
||||
"com.intellij.platform.workspace.storage.EntitySource"))
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectFileEntitySource\$ExactFile", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "file", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectLocation", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = ExtendableClassMetadata.AbstractClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation", subclasses = listOf(FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation\$DirectoryBased", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "baseDirectoryUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "baseDirectoryUrlString", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "ideaFolder", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectDir", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectFilePath", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.JpsProjectConfigLocation")),
|
||||
FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation\$FileBased", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "baseDirectoryUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "baseDirectoryUrlString", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "iprFile", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "iprFileParent", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectFilePath", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.JpsProjectConfigLocation"))), supertypes = listOf())), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "virtualFileUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.JpsFileEntitySource",
|
||||
"com.intellij.platform.workspace.jps.JpsProjectFileEntitySource",
|
||||
"com.intellij.platform.workspace.storage.EntitySource"))
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsImportedEntitySource", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "externalSystemId", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "internalFile", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = ExtendableClassMetadata.AbstractClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsFileEntitySource", subclasses = listOf(FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectFileEntitySource\$FileInDirectory", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "directory", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "fileNameId", valueType = primitiveTypeIntNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectLocation", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "virtualFileUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.JpsFileEntitySource",
|
||||
"com.intellij.platform.workspace.jps.JpsProjectFileEntitySource",
|
||||
"com.intellij.platform.workspace.storage.EntitySource")),
|
||||
FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsGlobalFileEntitySource", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "file", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "virtualFileUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = true, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.GlobalStorageEntitySource",
|
||||
"com.intellij.platform.workspace.jps.JpsFileEntitySource",
|
||||
"com.intellij.platform.workspace.storage.EntitySource")),
|
||||
FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectFileEntitySource\$ExactFile", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "file", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectLocation", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = ExtendableClassMetadata.AbstractClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation", subclasses = listOf(FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation\$DirectoryBased", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "baseDirectoryUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "baseDirectoryUrlString", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "ideaFolder", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectDir", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectFilePath", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.JpsProjectConfigLocation")),
|
||||
FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation\$FileBased", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "baseDirectoryUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "baseDirectoryUrlString", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "iprFile", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "iprFileParent", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectFilePath", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.JpsProjectConfigLocation"))), supertypes = listOf())), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "virtualFileUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.JpsFileEntitySource",
|
||||
"com.intellij.platform.workspace.jps.JpsProjectFileEntitySource",
|
||||
"com.intellij.platform.workspace.storage.EntitySource"))), supertypes = listOf("com.intellij.platform.workspace.storage.EntitySource"))), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "originalSource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.jps.JpsFileEntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "storedExternally", valueType = primitiveTypeBooleanNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "virtualFileUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = true, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.JpsFileDependentEntitySource",
|
||||
"com.intellij.platform.workspace.storage.EntitySource"))
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.LibraryId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "codeCache", valueType = primitiveTypeIntNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "tableId", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = ExtendableClassMetadata.AbstractClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.LibraryTableId", subclasses = listOf(FinalClassMetadata.ObjectMetadata(fqName = "com.intellij.platform.workspace.jps.entities.LibraryTableId\$ProjectLibraryTableId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "level", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.entities.LibraryTableId",
|
||||
"java.io.Serializable")),
|
||||
FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.LibraryTableId\$GlobalLibraryTableId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "level", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.entities.LibraryTableId",
|
||||
"java.io.Serializable")),
|
||||
FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.LibraryTableId\$ModuleLibraryTableId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "level", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "moduleId", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ModuleId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.entities.LibraryTableId",
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "moduleId", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ModuleId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.entities.LibraryTableId",
|
||||
"java.io.Serializable"))), supertypes = listOf("java.io.Serializable"))), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.FacetId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "type", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.FacetEntityTypeId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf())), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "parentId", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ModuleId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))
|
||||
|
||||
|
||||
typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.FacetId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "parentId", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ModuleId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "type", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.FacetEntityTypeId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf())), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.SdkId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
|
||||
typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.SdkId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "type", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ModuleId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))
|
||||
|
||||
|
||||
typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ModuleId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.java.workspace.entities.ArchivePackagingElementEntity", entityDataFqName = "com.intellij.java.workspace.entities.impl.ArchivePackagingElementEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity",
|
||||
"com.intellij.java.workspace.entities.PackagingElementEntity",
|
||||
"com.intellij.java.workspace.entities.CompositePackagingElementEntity"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
@@ -189,9 +146,9 @@ OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name =
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "artifact", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ABSTRACT_ONE_TO_ONE, entityFqName = "com.intellij.java.workspace.entities.ArtifactEntity", isChild = false, isNullable = true), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "children", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY, entityFqName = "com.intellij.java.workspace.entities.PackagingElementEntity", isChild = true, isNullable = false), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "fileName", valueType = primitiveTypeStringNotNullable, withDefault = false)), extProperties = listOf(), isAbstract = false)
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.java.workspace.entities.ArtifactEntity", entityDataFqName = "com.intellij.java.workspace.entities.impl.ArtifactEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity",
|
||||
"com.intellij.platform.workspace.storage.WorkspaceEntityWithSymbolicId"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
@@ -201,48 +158,48 @@ OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name =
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "rootElement", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ABSTRACT_ONE_TO_ONE, entityFqName = "com.intellij.java.workspace.entities.CompositePackagingElementEntity", isChild = true, isNullable = true), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "customProperties", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_MANY, entityFqName = "com.intellij.java.workspace.entities.ArtifactPropertiesEntity", isChild = true, isNullable = false), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "artifactOutputPackagingElement", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ONE, entityFqName = "com.intellij.java.workspace.entities.ArtifactOutputPackagingElementEntity", isChild = true, isNullable = true), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = true, isKey = false, isOpen = false, name = "symbolicId", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.java.workspace.entities.ArtifactId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))), withDefault = false)), extProperties = listOf(ExtPropertyMetadata(isComputable = false, isOpen = false, name = "artifactEntity", receiverFqn = "com.intellij.java.workspace.entities.ArtifactOutputPackagingElementEntity", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ONE, entityFqName = "com.intellij.java.workspace.entities.ArtifactEntity", isChild = false, isNullable = true), withDefault = false)), isAbstract = false)
|
||||
|
||||
OwnPropertyMetadata(isComputable = true, isKey = false, isOpen = false, name = "symbolicId", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.java.workspace.entities.ArtifactId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))), withDefault = false)), extProperties = listOf(ExtPropertyMetadata(isComputable = false, isOpen = false, name = "artifactEntity", receiverFqn = "com.intellij.java.workspace.entities.ArtifactOutputPackagingElementEntity", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ONE, entityFqName = "com.intellij.java.workspace.entities.ArtifactEntity", isChild = false, isNullable = true), withDefault = false)), isAbstract = false)
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.java.workspace.entities.ArtifactOutputPackagingElementEntity", entityDataFqName = "com.intellij.java.workspace.entities.impl.ArtifactOutputPackagingElementEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity",
|
||||
"com.intellij.java.workspace.entities.PackagingElementEntity"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "parentEntity", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY, entityFqName = "com.intellij.java.workspace.entities.CompositePackagingElementEntity", isChild = false, isNullable = true), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "artifact", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = true, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.java.workspace.entities.ArtifactId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))), withDefault = false)), extProperties = listOf(), isAbstract = false)
|
||||
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "artifact", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = true, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.java.workspace.entities.ArtifactId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))), withDefault = false)), extProperties = listOf(), isAbstract = false)
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.java.workspace.entities.ArtifactPropertiesEntity", entityDataFqName = "com.intellij.java.workspace.entities.impl.ArtifactPropertiesEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "artifact", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_MANY, entityFqName = "com.intellij.java.workspace.entities.ArtifactEntity", isChild = false, isNullable = false), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "providerType", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "propertiesXmlTag", valueType = primitiveTypeStringNullable, withDefault = false)), extProperties = listOf(), isAbstract = false)
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.java.workspace.entities.ArtifactRootElementEntity", entityDataFqName = "com.intellij.java.workspace.entities.impl.ArtifactRootElementEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity",
|
||||
"com.intellij.java.workspace.entities.PackagingElementEntity",
|
||||
"com.intellij.java.workspace.entities.CompositePackagingElementEntity"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "parentEntity", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY, entityFqName = "com.intellij.java.workspace.entities.CompositePackagingElementEntity", isChild = false, isNullable = true), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "artifact", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ABSTRACT_ONE_TO_ONE, entityFqName = "com.intellij.java.workspace.entities.ArtifactEntity", isChild = false, isNullable = true), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "children", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY, entityFqName = "com.intellij.java.workspace.entities.PackagingElementEntity", isChild = true, isNullable = false), withDefault = false)), extProperties = listOf(), isAbstract = false)
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.java.workspace.entities.ArtifactsOrderEntity", entityDataFqName = "com.intellij.java.workspace.entities.impl.ArtifactsOrderEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "orderOfArtifacts", valueType = ValueTypeMetadata.ParameterizedType(generics = listOf(primitiveTypeStringNotNullable), primitive = primitiveTypeListNotNullable), withDefault = false)), extProperties = listOf(), isAbstract = false)
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.java.workspace.entities.CompositePackagingElementEntity", entityDataFqName = "com.intellij.java.workspace.entities.impl.CompositePackagingElementEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity",
|
||||
"com.intellij.java.workspace.entities.PackagingElementEntity"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "parentEntity", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY, entityFqName = "com.intellij.java.workspace.entities.CompositePackagingElementEntity", isChild = false, isNullable = true), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "artifact", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ABSTRACT_ONE_TO_ONE, entityFqName = "com.intellij.java.workspace.entities.ArtifactEntity", isChild = false, isNullable = true), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "children", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY, entityFqName = "com.intellij.java.workspace.entities.PackagingElementEntity", isChild = true, isNullable = false), withDefault = false)), extProperties = listOf(), isAbstract = true)
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.java.workspace.entities.CustomPackagingElementEntity", entityDataFqName = "com.intellij.java.workspace.entities.impl.CustomPackagingElementEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity",
|
||||
"com.intellij.java.workspace.entities.PackagingElementEntity",
|
||||
"com.intellij.java.workspace.entities.CompositePackagingElementEntity"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
@@ -251,17 +208,17 @@ OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name =
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "children", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY, entityFqName = "com.intellij.java.workspace.entities.PackagingElementEntity", isChild = true, isNullable = false), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "typeId", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "propertiesXmlTag", valueType = primitiveTypeStringNotNullable, withDefault = false)), extProperties = listOf(), isAbstract = false)
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.java.workspace.entities.DirectoryCopyPackagingElementEntity", entityDataFqName = "com.intellij.java.workspace.entities.impl.DirectoryCopyPackagingElementEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity",
|
||||
"com.intellij.java.workspace.entities.PackagingElementEntity",
|
||||
"com.intellij.java.workspace.entities.FileOrDirectoryPackagingElementEntity"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "parentEntity", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY, entityFqName = "com.intellij.java.workspace.entities.CompositePackagingElementEntity", isChild = false, isNullable = true), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "filePath", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false)), extProperties = listOf(), isAbstract = false)
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.java.workspace.entities.DirectoryPackagingElementEntity", entityDataFqName = "com.intellij.java.workspace.entities.impl.DirectoryPackagingElementEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity",
|
||||
"com.intellij.java.workspace.entities.PackagingElementEntity",
|
||||
"com.intellij.java.workspace.entities.CompositePackagingElementEntity"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
@@ -269,34 +226,34 @@ OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name =
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "artifact", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ABSTRACT_ONE_TO_ONE, entityFqName = "com.intellij.java.workspace.entities.ArtifactEntity", isChild = false, isNullable = true), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "children", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY, entityFqName = "com.intellij.java.workspace.entities.PackagingElementEntity", isChild = true, isNullable = false), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "directoryName", valueType = primitiveTypeStringNotNullable, withDefault = false)), extProperties = listOf(), isAbstract = false)
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.java.workspace.entities.ExtractedDirectoryPackagingElementEntity", entityDataFqName = "com.intellij.java.workspace.entities.impl.ExtractedDirectoryPackagingElementEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity",
|
||||
"com.intellij.java.workspace.entities.PackagingElementEntity",
|
||||
"com.intellij.java.workspace.entities.FileOrDirectoryPackagingElementEntity"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "parentEntity", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY, entityFqName = "com.intellij.java.workspace.entities.CompositePackagingElementEntity", isChild = false, isNullable = true), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "filePath", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "pathInArchive", valueType = primitiveTypeStringNotNullable, withDefault = false)), extProperties = listOf(), isAbstract = false)
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.java.workspace.entities.FileCopyPackagingElementEntity", entityDataFqName = "com.intellij.java.workspace.entities.impl.FileCopyPackagingElementEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity",
|
||||
"com.intellij.java.workspace.entities.PackagingElementEntity",
|
||||
"com.intellij.java.workspace.entities.FileOrDirectoryPackagingElementEntity"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "parentEntity", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY, entityFqName = "com.intellij.java.workspace.entities.CompositePackagingElementEntity", isChild = false, isNullable = true), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "filePath", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "renamedOutputFileName", valueType = primitiveTypeStringNullable, withDefault = false)), extProperties = listOf(), isAbstract = false)
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.java.workspace.entities.FileOrDirectoryPackagingElementEntity", entityDataFqName = "com.intellij.java.workspace.entities.impl.FileOrDirectoryPackagingElementEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity",
|
||||
"com.intellij.java.workspace.entities.PackagingElementEntity"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "parentEntity", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY, entityFqName = "com.intellij.java.workspace.entities.CompositePackagingElementEntity", isChild = false, isNullable = true), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "filePath", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false)), extProperties = listOf(), isAbstract = true)
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.java.workspace.entities.JavaModuleSettingsEntity", entityDataFqName = "com.intellij.java.workspace.entities.impl.JavaModuleSettingsEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "module", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ONE, entityFqName = "com.intellij.platform.workspace.jps.entities.ModuleEntity", isChild = false, isNullable = false), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "inheritedCompilerOutput", valueType = primitiveTypeBooleanNotNullable, withDefault = false),
|
||||
@@ -306,95 +263,95 @@ OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name =
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "languageLevelId", valueType = primitiveTypeStringNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "manifestAttributes", valueType = ValueTypeMetadata.ParameterizedType(generics = listOf(primitiveTypeStringNotNullable,
|
||||
primitiveTypeStringNotNullable), primitive = primitiveTypeMapNotNullable), withDefault = true)), extProperties = listOf(ExtPropertyMetadata(isComputable = false, isOpen = false, name = "javaSettings", receiverFqn = "com.intellij.platform.workspace.jps.entities.ModuleEntity", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ONE, entityFqName = "com.intellij.java.workspace.entities.JavaModuleSettingsEntity", isChild = true, isNullable = true), withDefault = false)), isAbstract = false)
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.java.workspace.entities.JavaResourceRootPropertiesEntity", entityDataFqName = "com.intellij.java.workspace.entities.impl.JavaResourceRootPropertiesEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "sourceRoot", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_MANY, entityFqName = "com.intellij.platform.workspace.jps.entities.SourceRootEntity", isChild = false, isNullable = false), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "generated", valueType = primitiveTypeBooleanNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "relativeOutputPath", valueType = primitiveTypeStringNotNullable, withDefault = false)), extProperties = listOf(ExtPropertyMetadata(isComputable = false, isOpen = false, name = "javaResourceRoots", receiverFqn = "com.intellij.platform.workspace.jps.entities.SourceRootEntity", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_MANY, entityFqName = "com.intellij.java.workspace.entities.JavaResourceRootPropertiesEntity", isChild = true, isNullable = false), withDefault = false)), isAbstract = false)
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.java.workspace.entities.JavaSourceRootPropertiesEntity", entityDataFqName = "com.intellij.java.workspace.entities.impl.JavaSourceRootPropertiesEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "sourceRoot", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_MANY, entityFqName = "com.intellij.platform.workspace.jps.entities.SourceRootEntity", isChild = false, isNullable = false), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "generated", valueType = primitiveTypeBooleanNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "packagePrefix", valueType = primitiveTypeStringNotNullable, withDefault = false)), extProperties = listOf(ExtPropertyMetadata(isComputable = false, isOpen = false, name = "javaSourceRoots", receiverFqn = "com.intellij.platform.workspace.jps.entities.SourceRootEntity", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_MANY, entityFqName = "com.intellij.java.workspace.entities.JavaSourceRootPropertiesEntity", isChild = true, isNullable = false), withDefault = false)), isAbstract = false)
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.java.workspace.entities.LibraryFilesPackagingElementEntity", entityDataFqName = "com.intellij.java.workspace.entities.impl.LibraryFilesPackagingElementEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity",
|
||||
"com.intellij.java.workspace.entities.PackagingElementEntity"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "parentEntity", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY, entityFqName = "com.intellij.java.workspace.entities.CompositePackagingElementEntity", isChild = false, isNullable = true), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "library", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = true, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.LibraryId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "codeCache", valueType = primitiveTypeIntNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "library", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = true, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.LibraryId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "codeCache", valueType = primitiveTypeIntNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "tableId", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = ExtendableClassMetadata.AbstractClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.LibraryTableId", subclasses = listOf(FinalClassMetadata.ObjectMetadata(fqName = "com.intellij.platform.workspace.jps.entities.LibraryTableId\$ProjectLibraryTableId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "level", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.entities.LibraryTableId",
|
||||
"java.io.Serializable")),
|
||||
FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.LibraryTableId\$GlobalLibraryTableId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "level", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.entities.LibraryTableId",
|
||||
"java.io.Serializable")),
|
||||
FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.LibraryTableId\$ModuleLibraryTableId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "level", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "moduleId", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ModuleId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.entities.LibraryTableId",
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "moduleId", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ModuleId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.entities.LibraryTableId",
|
||||
"java.io.Serializable"))), supertypes = listOf("java.io.Serializable"))), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))), withDefault = false)), extProperties = listOf(), isAbstract = false)
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.java.workspace.entities.ModuleOutputPackagingElementEntity", entityDataFqName = "com.intellij.java.workspace.entities.impl.ModuleOutputPackagingElementEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity",
|
||||
"com.intellij.java.workspace.entities.PackagingElementEntity"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "parentEntity", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY, entityFqName = "com.intellij.java.workspace.entities.CompositePackagingElementEntity", isChild = false, isNullable = true), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "module", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = true, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ModuleId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))), withDefault = false)), extProperties = listOf(), isAbstract = false)
|
||||
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "module", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = true, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ModuleId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))), withDefault = false)), extProperties = listOf(), isAbstract = false)
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.java.workspace.entities.ModuleSourcePackagingElementEntity", entityDataFqName = "com.intellij.java.workspace.entities.impl.ModuleSourcePackagingElementEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity",
|
||||
"com.intellij.java.workspace.entities.PackagingElementEntity"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "parentEntity", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY, entityFqName = "com.intellij.java.workspace.entities.CompositePackagingElementEntity", isChild = false, isNullable = true), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "module", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = true, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ModuleId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))), withDefault = false)), extProperties = listOf(), isAbstract = false)
|
||||
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "module", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = true, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ModuleId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))), withDefault = false)), extProperties = listOf(), isAbstract = false)
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.java.workspace.entities.ModuleTestOutputPackagingElementEntity", entityDataFqName = "com.intellij.java.workspace.entities.impl.ModuleTestOutputPackagingElementEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity",
|
||||
"com.intellij.java.workspace.entities.PackagingElementEntity"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "parentEntity", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY, entityFqName = "com.intellij.java.workspace.entities.CompositePackagingElementEntity", isChild = false, isNullable = true), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "module", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = true, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ModuleId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))), withDefault = false)), extProperties = listOf(), isAbstract = false)
|
||||
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "module", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = true, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ModuleId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))), withDefault = false)), extProperties = listOf(), isAbstract = false)
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.java.workspace.entities.PackagingElementEntity", entityDataFqName = "com.intellij.java.workspace.entities.impl.PackagingElementEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "parentEntity", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY, entityFqName = "com.intellij.java.workspace.entities.CompositePackagingElementEntity", isChild = false, isNullable = true), withDefault = false)), extProperties = listOf(), isAbstract = true)
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ContentRootEntity", entityDataFqName = "com.intellij.platform.workspace.jps.entities.impl.ContentRootEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = true, isOpen = false, name = "url", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "excludedPatterns", valueType = ValueTypeMetadata.ParameterizedType(generics = listOf(primitiveTypeStringNotNullable), primitive = primitiveTypeListNotNullable), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "module", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_MANY, entityFqName = "com.intellij.platform.workspace.jps.entities.ModuleEntity", isChild = false, isNullable = false), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "sourceRoots", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_MANY, entityFqName = "com.intellij.platform.workspace.jps.entities.SourceRootEntity", isChild = true, isNullable = false), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "excludedUrls", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_MANY, entityFqName = "com.intellij.platform.workspace.jps.entities.ExcludeUrlEntity", isChild = true, isNullable = false), withDefault = false)), extProperties = listOf(ExtPropertyMetadata(isComputable = false, isOpen = false, name = "contentRoot", receiverFqn = "com.intellij.platform.workspace.jps.entities.ExcludeUrlEntity", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_MANY, entityFqName = "com.intellij.platform.workspace.jps.entities.ContentRootEntity", isChild = false, isNullable = true), withDefault = false)), isAbstract = false)
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.platform.workspace.jps.entities.CustomSourceRootPropertiesEntity", entityDataFqName = "com.intellij.platform.workspace.jps.entities.impl.CustomSourceRootPropertiesEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "propertiesXmlTag", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "sourceRoot", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ONE, entityFqName = "com.intellij.platform.workspace.jps.entities.SourceRootEntity", isChild = false, isNullable = false), withDefault = false)), extProperties = listOf(ExtPropertyMetadata(isComputable = false, isOpen = false, name = "customSourceRootProperties", receiverFqn = "com.intellij.platform.workspace.jps.entities.SourceRootEntity", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ONE, entityFqName = "com.intellij.platform.workspace.jps.entities.CustomSourceRootPropertiesEntity", isChild = true, isNullable = true), withDefault = false)), isAbstract = false)
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ExcludeUrlEntity", entityDataFqName = "com.intellij.platform.workspace.jps.entities.impl.ExcludeUrlEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "url", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false)), extProperties = listOf(), isAbstract = false)
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ExcludeUrlOrderEntity", entityDataFqName = "com.intellij.platform.workspace.jps.entities.impl.ExcludeUrlOrderEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "order", valueType = ValueTypeMetadata.ParameterizedType(generics = listOf(ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl"))), primitive = primitiveTypeListNotNullable), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "contentRoot", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ONE, entityFqName = "com.intellij.platform.workspace.jps.entities.ContentRootEntity", isChild = false, isNullable = false), withDefault = false)), extProperties = listOf(ExtPropertyMetadata(isComputable = false, isOpen = false, name = "excludeUrlOrder", receiverFqn = "com.intellij.platform.workspace.jps.entities.ContentRootEntity", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ONE, entityFqName = "com.intellij.platform.workspace.jps.entities.ExcludeUrlOrderEntity", isChild = true, isNullable = true), withDefault = false)), isAbstract = false)
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ExternalSystemModuleOptionsEntity", entityDataFqName = "com.intellij.platform.workspace.jps.entities.impl.ExternalSystemModuleOptionsEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "module", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ONE, entityFqName = "com.intellij.platform.workspace.jps.entities.ModuleEntity", isChild = false, isNullable = false), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "externalSystem", valueType = primitiveTypeStringNullable, withDefault = false),
|
||||
@@ -404,33 +361,33 @@ OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name =
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "rootProjectPath", valueType = primitiveTypeStringNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "externalSystemModuleGroup", valueType = primitiveTypeStringNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "externalSystemModuleType", valueType = primitiveTypeStringNullable, withDefault = false)), extProperties = listOf(ExtPropertyMetadata(isComputable = false, isOpen = false, name = "exModuleOptions", receiverFqn = "com.intellij.platform.workspace.jps.entities.ModuleEntity", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ONE, entityFqName = "com.intellij.platform.workspace.jps.entities.ExternalSystemModuleOptionsEntity", isChild = true, isNullable = true), withDefault = false)), isAbstract = false)
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.platform.workspace.jps.entities.FacetEntity", entityDataFqName = "com.intellij.platform.workspace.jps.entities.impl.FacetEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity",
|
||||
"com.intellij.platform.workspace.storage.WorkspaceEntityWithSymbolicId",
|
||||
"com.intellij.platform.workspace.jps.entities.ModuleSettingsFacetBridgeEntity"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "moduleId", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ModuleId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "moduleId", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ModuleId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = true, isKey = false, isOpen = false, name = "symbolicId", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.FacetId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "type", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.FacetEntityTypeId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf())), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "parentId", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ModuleId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = true, isKey = false, isOpen = false, name = "symbolicId", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.FacetId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "parentId", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ModuleId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "type", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.FacetEntityTypeId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf())), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "typeId", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.FacetEntityTypeId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf())), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "configurationXmlTag", valueType = primitiveTypeStringNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "module", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_MANY, entityFqName = "com.intellij.platform.workspace.jps.entities.ModuleEntity", isChild = false, isNullable = false), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "underlyingFacet", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_MANY, entityFqName = "com.intellij.platform.workspace.jps.entities.FacetEntity", isChild = false, isNullable = true), withDefault = false)), extProperties = listOf(ExtPropertyMetadata(isComputable = false, isOpen = false, name = "childrenFacets", receiverFqn = "com.intellij.platform.workspace.jps.entities.FacetEntity", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_MANY, entityFqName = "com.intellij.platform.workspace.jps.entities.FacetEntity", isChild = true, isNullable = false), withDefault = false)), isAbstract = false)
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.platform.workspace.jps.entities.FacetsOrderEntity", entityDataFqName = "com.intellij.platform.workspace.jps.entities.impl.FacetsOrderEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "orderOfFacets", valueType = ValueTypeMetadata.ParameterizedType(generics = listOf(primitiveTypeStringNotNullable), primitive = primitiveTypeListNotNullable), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "moduleEntity", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ONE, entityFqName = "com.intellij.platform.workspace.jps.entities.ModuleEntity", isChild = false, isNullable = false), withDefault = false)), extProperties = listOf(ExtPropertyMetadata(isComputable = false, isOpen = false, name = "facetOrder", receiverFqn = "com.intellij.platform.workspace.jps.entities.ModuleEntity", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ONE, entityFqName = "com.intellij.platform.workspace.jps.entities.FacetsOrderEntity", isChild = true, isNullable = true), withDefault = false)), isAbstract = false)
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.platform.workspace.jps.entities.LibraryEntity", entityDataFqName = "com.intellij.platform.workspace.jps.entities.impl.LibraryEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity",
|
||||
"com.intellij.platform.workspace.storage.WorkspaceEntityWithSymbolicId"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
@@ -439,145 +396,145 @@ OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name =
|
||||
FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.LibraryTableId\$GlobalLibraryTableId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "level", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.entities.LibraryTableId",
|
||||
"java.io.Serializable")),
|
||||
FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.LibraryTableId\$ModuleLibraryTableId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "level", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "moduleId", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ModuleId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.entities.LibraryTableId",
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "moduleId", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ModuleId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.entities.LibraryTableId",
|
||||
"java.io.Serializable"))), supertypes = listOf("java.io.Serializable"))), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "typeId", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = true, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.LibraryTypeId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf())), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "roots", valueType = ValueTypeMetadata.ParameterizedType(generics = listOf(ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.LibraryRoot", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "url", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "type", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.LibraryRootTypeId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("java.io.Serializable"))), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "inclusionOptions", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.EnumClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.LibraryRoot\$InclusionOptions", properties = listOf(), supertypes = listOf("kotlin.Enum",
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "roots", valueType = ValueTypeMetadata.ParameterizedType(generics = listOf(ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.LibraryRoot", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "inclusionOptions", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.EnumClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.LibraryRoot\$InclusionOptions", properties = listOf(), supertypes = listOf("java.io.Serializable",
|
||||
"kotlin.Comparable",
|
||||
"java.io.Serializable"), values = listOf("ROOT_ITSELF",
|
||||
"ARCHIVES_UNDER_ROOT",
|
||||
"ARCHIVES_UNDER_ROOT_RECURSIVELY"))), withDefault = false)), supertypes = listOf("java.io.Serializable")))), primitive = primitiveTypeListNotNullable), withDefault = false),
|
||||
"kotlin.Enum"), values = listOf("ARCHIVES_UNDER_ROOT",
|
||||
"ARCHIVES_UNDER_ROOT_RECURSIVELY",
|
||||
"ROOT_ITSELF"))), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "type", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.LibraryRootTypeId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("java.io.Serializable"))), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "url", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false)), supertypes = listOf("java.io.Serializable")))), primitive = primitiveTypeListNotNullable), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "excludedRoots", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_MANY, entityFqName = "com.intellij.platform.workspace.jps.entities.ExcludeUrlEntity", isChild = true, isNullable = false), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = true, isKey = false, isOpen = false, name = "symbolicId", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.LibraryId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "codeCache", valueType = primitiveTypeIntNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = true, isKey = false, isOpen = false, name = "symbolicId", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.LibraryId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "codeCache", valueType = primitiveTypeIntNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "tableId", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = ExtendableClassMetadata.AbstractClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.LibraryTableId", subclasses = listOf(FinalClassMetadata.ObjectMetadata(fqName = "com.intellij.platform.workspace.jps.entities.LibraryTableId\$ProjectLibraryTableId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "level", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.entities.LibraryTableId",
|
||||
"java.io.Serializable")),
|
||||
FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.LibraryTableId\$GlobalLibraryTableId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "level", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.entities.LibraryTableId",
|
||||
"java.io.Serializable")),
|
||||
FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.LibraryTableId\$ModuleLibraryTableId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "level", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "moduleId", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ModuleId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.entities.LibraryTableId",
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "moduleId", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ModuleId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.entities.LibraryTableId",
|
||||
"java.io.Serializable"))), supertypes = listOf("java.io.Serializable"))), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))), withDefault = false)), extProperties = listOf(ExtPropertyMetadata(isComputable = false, isOpen = false, name = "library", receiverFqn = "com.intellij.platform.workspace.jps.entities.ExcludeUrlEntity", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_MANY, entityFqName = "com.intellij.platform.workspace.jps.entities.LibraryEntity", isChild = false, isNullable = true), withDefault = false)), isAbstract = false)
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.platform.workspace.jps.entities.LibraryPropertiesEntity", entityDataFqName = "com.intellij.platform.workspace.jps.entities.impl.LibraryPropertiesEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "propertiesXmlTag", valueType = primitiveTypeStringNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "library", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ONE, entityFqName = "com.intellij.platform.workspace.jps.entities.LibraryEntity", isChild = false, isNullable = false), withDefault = false)), extProperties = listOf(ExtPropertyMetadata(isComputable = false, isOpen = false, name = "libraryProperties", receiverFqn = "com.intellij.platform.workspace.jps.entities.LibraryEntity", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ONE, entityFqName = "com.intellij.platform.workspace.jps.entities.LibraryPropertiesEntity", isChild = true, isNullable = true), withDefault = false)), isAbstract = false)
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ModuleCustomImlDataEntity", entityDataFqName = "com.intellij.platform.workspace.jps.entities.impl.ModuleCustomImlDataEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "rootManagerTagCustomData", valueType = primitiveTypeStringNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "customModuleOptions", valueType = ValueTypeMetadata.ParameterizedType(generics = listOf(primitiveTypeStringNotNullable,
|
||||
primitiveTypeStringNotNullable), primitive = primitiveTypeMapNotNullable), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "module", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ONE, entityFqName = "com.intellij.platform.workspace.jps.entities.ModuleEntity", isChild = false, isNullable = false), withDefault = false)), extProperties = listOf(ExtPropertyMetadata(isComputable = false, isOpen = false, name = "customImlData", receiverFqn = "com.intellij.platform.workspace.jps.entities.ModuleEntity", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ONE, entityFqName = "com.intellij.platform.workspace.jps.entities.ModuleCustomImlDataEntity", isChild = true, isNullable = true), withDefault = false)), isAbstract = false)
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ModuleEntity", entityDataFqName = "com.intellij.platform.workspace.jps.entities.impl.ModuleEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity",
|
||||
"com.intellij.platform.workspace.storage.WorkspaceEntityWithSymbolicId"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = true, isKey = false, isOpen = false, name = "symbolicId", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ModuleId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = true, isKey = false, isOpen = false, name = "symbolicId", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ModuleId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "type", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = true, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ModuleTypeId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf())), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "dependencies", valueType = ValueTypeMetadata.ParameterizedType(generics = listOf(ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = ExtendableClassMetadata.AbstractClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ModuleDependencyItem", subclasses = listOf(FinalClassMetadata.ObjectMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ModuleSourceDependency", properties = listOf(), supertypes = listOf("com.intellij.platform.workspace.jps.entities.ModuleDependencyItem",
|
||||
"java.io.Serializable")),
|
||||
FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.SdkDependency", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "sdk", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.SdkId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.SdkDependency", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "sdk", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.SdkId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "type", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.entities.ModuleDependencyItem",
|
||||
"java.io.Serializable")),
|
||||
FinalClassMetadata.ObjectMetadata(fqName = "com.intellij.platform.workspace.jps.entities.InheritedSdkDependency", properties = listOf(), supertypes = listOf("com.intellij.platform.workspace.jps.entities.ModuleDependencyItem",
|
||||
"java.io.Serializable")),
|
||||
FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.LibraryDependency", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "library", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.LibraryId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "codeCache", valueType = primitiveTypeIntNotNullable, withDefault = false),
|
||||
FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.LibraryDependency", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "exported", valueType = primitiveTypeBooleanNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "library", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.LibraryId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "codeCache", valueType = primitiveTypeIntNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "tableId", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = ExtendableClassMetadata.AbstractClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.LibraryTableId", subclasses = listOf(FinalClassMetadata.ObjectMetadata(fqName = "com.intellij.platform.workspace.jps.entities.LibraryTableId\$ProjectLibraryTableId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "level", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.entities.LibraryTableId",
|
||||
"java.io.Serializable")),
|
||||
FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.LibraryTableId\$GlobalLibraryTableId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "level", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.entities.LibraryTableId",
|
||||
"java.io.Serializable")),
|
||||
FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.LibraryTableId\$ModuleLibraryTableId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "level", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "moduleId", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ModuleId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.entities.LibraryTableId",
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "moduleId", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ModuleId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.entities.LibraryTableId",
|
||||
"java.io.Serializable"))), supertypes = listOf("java.io.Serializable"))), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "exported", valueType = primitiveTypeBooleanNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "scope", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.EnumClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.DependencyScope", properties = listOf(), supertypes = listOf("kotlin.Enum",
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "scope", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.EnumClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.DependencyScope", properties = listOf(), supertypes = listOf("java.io.Serializable",
|
||||
"kotlin.Comparable",
|
||||
"java.io.Serializable"), values = listOf("COMPILE",
|
||||
"TEST",
|
||||
"kotlin.Enum"), values = listOf("COMPILE",
|
||||
"PROVIDED",
|
||||
"RUNTIME",
|
||||
"PROVIDED"))), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.entities.ModuleDependencyItem",
|
||||
"TEST"))), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.entities.ModuleDependencyItem",
|
||||
"java.io.Serializable")),
|
||||
FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ModuleDependency", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "module", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.jps.entities.ModuleId")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "exported", valueType = primitiveTypeBooleanNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "scope", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.jps.entities.DependencyScope")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "productionOnTest", valueType = primitiveTypeBooleanNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.entities.ModuleDependencyItem",
|
||||
FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ModuleDependency", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "exported", valueType = primitiveTypeBooleanNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "module", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.jps.entities.ModuleId")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "productionOnTest", valueType = primitiveTypeBooleanNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "scope", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.jps.entities.DependencyScope")), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.entities.ModuleDependencyItem",
|
||||
"java.io.Serializable"))), supertypes = listOf("java.io.Serializable")))), primitive = primitiveTypeListNotNullable), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "contentRoots", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_MANY, entityFqName = "com.intellij.platform.workspace.jps.entities.ContentRootEntity", isChild = true, isNullable = false), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "facets", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_MANY, entityFqName = "com.intellij.platform.workspace.jps.entities.FacetEntity", isChild = true, isNullable = false), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = true, isKey = false, isOpen = false, name = "sourceRoots", valueType = ValueTypeMetadata.ParameterizedType(generics = listOf(ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.jps.entities.SourceRootEntity"))), primitive = primitiveTypeListNotNullable), withDefault = false)), extProperties = listOf(), isAbstract = false)
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ModuleGroupPathEntity", entityDataFqName = "com.intellij.platform.workspace.jps.entities.impl.ModuleGroupPathEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "module", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ONE, entityFqName = "com.intellij.platform.workspace.jps.entities.ModuleEntity", isChild = false, isNullable = false), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "path", valueType = ValueTypeMetadata.ParameterizedType(generics = listOf(primitiveTypeStringNotNullable), primitive = primitiveTypeListNotNullable), withDefault = false)), extProperties = listOf(ExtPropertyMetadata(isComputable = false, isOpen = false, name = "groupPath", receiverFqn = "com.intellij.platform.workspace.jps.entities.ModuleEntity", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ONE, entityFqName = "com.intellij.platform.workspace.jps.entities.ModuleGroupPathEntity", isChild = true, isNullable = true), withDefault = false)), isAbstract = false)
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ModuleSettingsFacetBridgeEntity", entityDataFqName = "com.intellij.platform.workspace.jps.entities.impl.ModuleSettingsFacetBridgeEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity",
|
||||
"com.intellij.platform.workspace.storage.WorkspaceEntityWithSymbolicId"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "symbolicId", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.SymbolicEntityId")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "moduleId", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ModuleId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))), withDefault = false)), extProperties = listOf(), isAbstract = true)
|
||||
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "moduleId", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ModuleId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false)), extProperties = listOf(), isAbstract = true)
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.platform.workspace.jps.entities.SdkEntity", entityDataFqName = "com.intellij.platform.workspace.jps.entities.impl.SdkEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity",
|
||||
"com.intellij.platform.workspace.storage.WorkspaceEntityWithSymbolicId"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = true, isKey = false, isOpen = false, name = "symbolicId", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.SdkId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = true, isKey = false, isOpen = false, name = "symbolicId", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.SdkId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "type", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "type", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "version", valueType = primitiveTypeStringNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "homePath", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = true, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "roots", valueType = ValueTypeMetadata.ParameterizedType(generics = listOf(ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.SdkRoot", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "url", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "type", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.SdkRootTypeId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("java.io.Serializable"))), withDefault = false)), supertypes = listOf("java.io.Serializable")))), primitive = primitiveTypeListNotNullable), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "roots", valueType = ValueTypeMetadata.ParameterizedType(generics = listOf(ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.SdkRoot", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "type", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.SdkRootTypeId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("java.io.Serializable"))), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "url", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false)), supertypes = listOf("java.io.Serializable")))), primitive = primitiveTypeListNotNullable), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "additionalData", valueType = primitiveTypeStringNotNullable, withDefault = false)), extProperties = listOf(), isAbstract = false)
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.platform.workspace.jps.entities.SourceRootEntity", entityDataFqName = "com.intellij.platform.workspace.jps.entities.impl.SourceRootEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "url", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "rootTypeId", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.SourceRootTypeId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf())), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "contentRoot", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_MANY, entityFqName = "com.intellij.platform.workspace.jps.entities.ContentRootEntity", isChild = false, isNullable = false), withDefault = false)), extProperties = listOf(), isAbstract = false)
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.platform.workspace.jps.entities.SourceRootOrderEntity", entityDataFqName = "com.intellij.platform.workspace.jps.entities.impl.SourceRootOrderEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "orderOfSourceRoots", valueType = ValueTypeMetadata.ParameterizedType(generics = listOf(ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl"))), primitive = primitiveTypeListNotNullable), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "contentRootEntity", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ONE, entityFqName = "com.intellij.platform.workspace.jps.entities.ContentRootEntity", isChild = false, isNullable = false), withDefault = false)), extProperties = listOf(ExtPropertyMetadata(isComputable = false, isOpen = false, name = "sourceRootOrder", receiverFqn = "com.intellij.platform.workspace.jps.entities.ContentRootEntity", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ONE, entityFqName = "com.intellij.platform.workspace.jps.entities.SourceRootOrderEntity", isChild = true, isNullable = true), withDefault = false)), isAbstract = false)
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.platform.workspace.jps.entities.TestModulePropertiesEntity", entityDataFqName = "com.intellij.platform.workspace.jps.entities.impl.TestModulePropertiesEntityData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "module", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ONE, entityFqName = "com.intellij.platform.workspace.jps.entities.ModuleEntity", isChild = false, isNullable = false), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "productionModuleId", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ModuleId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))), withDefault = false)), extProperties = listOf(ExtPropertyMetadata(isComputable = false, isOpen = false, name = "testProperties", receiverFqn = "com.intellij.platform.workspace.jps.entities.ModuleEntity", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ONE, entityFqName = "com.intellij.platform.workspace.jps.entities.TestModulePropertiesEntity", isChild = true, isNullable = true), withDefault = false)), isAbstract = false)
|
||||
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "productionModuleId", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.entities.ModuleId", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "name", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "presentableName", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.SymbolicEntityId"))), withDefault = false)), extProperties = listOf(ExtPropertyMetadata(isComputable = false, isOpen = false, name = "testProperties", receiverFqn = "com.intellij.platform.workspace.jps.entities.ModuleEntity", valueType = ValueTypeMetadata.EntityReference(connectionType = ConnectionId.ConnectionType.ONE_TO_ONE, entityFqName = "com.intellij.platform.workspace.jps.entities.TestModulePropertiesEntity", isChild = true, isNullable = true), withDefault = false)), isAbstract = false)
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
}
|
||||
|
||||
override fun initializeMetadataHash() {
|
||||
addMetadataHash(typeFqn = "com.intellij.java.workspace.entities.ArchivePackagingElementEntity", metadataHash = -1691604565)
|
||||
addMetadataHash(typeFqn = "com.intellij.java.workspace.entities.ArtifactEntity", metadataHash = -1669599238)
|
||||
addMetadataHash(typeFqn = "com.intellij.java.workspace.entities.ArtifactOutputPackagingElementEntity", metadataHash = 568103093)
|
||||
addMetadataHash(typeFqn = "com.intellij.java.workspace.entities.ArtifactEntity", metadataHash = -528622308)
|
||||
addMetadataHash(typeFqn = "com.intellij.java.workspace.entities.ArtifactOutputPackagingElementEntity", metadataHash = -142353837)
|
||||
addMetadataHash(typeFqn = "com.intellij.java.workspace.entities.ArtifactPropertiesEntity", metadataHash = 744070860)
|
||||
addMetadataHash(typeFqn = "com.intellij.java.workspace.entities.ArtifactRootElementEntity", metadataHash = -990083961)
|
||||
addMetadataHash(typeFqn = "com.intellij.java.workspace.entities.ArtifactsOrderEntity", metadataHash = -1492991014)
|
||||
@@ -591,68 +548,66 @@ OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name =
|
||||
addMetadataHash(typeFqn = "com.intellij.java.workspace.entities.JavaModuleSettingsEntity", metadataHash = -467148524)
|
||||
addMetadataHash(typeFqn = "com.intellij.java.workspace.entities.JavaResourceRootPropertiesEntity", metadataHash = 398549068)
|
||||
addMetadataHash(typeFqn = "com.intellij.java.workspace.entities.JavaSourceRootPropertiesEntity", metadataHash = -715526658)
|
||||
addMetadataHash(typeFqn = "com.intellij.java.workspace.entities.LibraryFilesPackagingElementEntity", metadataHash = 419235827)
|
||||
addMetadataHash(typeFqn = "com.intellij.java.workspace.entities.ModuleOutputPackagingElementEntity", metadataHash = 1792536761)
|
||||
addMetadataHash(typeFqn = "com.intellij.java.workspace.entities.ModuleSourcePackagingElementEntity", metadataHash = 435923577)
|
||||
addMetadataHash(typeFqn = "com.intellij.java.workspace.entities.ModuleTestOutputPackagingElementEntity", metadataHash = 2002728953)
|
||||
addMetadataHash(typeFqn = "com.intellij.java.workspace.entities.LibraryFilesPackagingElementEntity", metadataHash = 1723970705)
|
||||
addMetadataHash(typeFqn = "com.intellij.java.workspace.entities.ModuleOutputPackagingElementEntity", metadataHash = 1082079831)
|
||||
addMetadataHash(typeFqn = "com.intellij.java.workspace.entities.ModuleSourcePackagingElementEntity", metadataHash = -274533353)
|
||||
addMetadataHash(typeFqn = "com.intellij.java.workspace.entities.ModuleTestOutputPackagingElementEntity", metadataHash = 1292272023)
|
||||
addMetadataHash(typeFqn = "com.intellij.java.workspace.entities.PackagingElementEntity", metadataHash = -206789668)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.ContentRootEntity", metadataHash = 491826355)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.CustomSourceRootPropertiesEntity", metadataHash = 1624272702)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.ExcludeUrlEntity", metadataHash = -419984627)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.ExcludeUrlOrderEntity", metadataHash = -1095561336)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.ExternalSystemModuleOptionsEntity", metadataHash = -256122890)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.FacetEntity", metadataHash = 2045805337)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.FacetEntity", metadataHash = 2038457991)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.FacetsOrderEntity", metadataHash = -603534268)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.LibraryEntity", metadataHash = -1299194872)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.LibraryEntity", metadataHash = 960359048)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.LibraryPropertiesEntity", metadataHash = 1363876247)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.ModuleCustomImlDataEntity", metadataHash = 68571124)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.ModuleEntity", metadataHash = -968938061)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.ModuleEntity", metadataHash = 1820856401)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.ModuleGroupPathEntity", metadataHash = 308708394)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.ModuleSettingsFacetBridgeEntity", metadataHash = 499967575)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.SdkEntity", metadataHash = 681302082)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.ModuleSettingsFacetBridgeEntity", metadataHash = 1261973673)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.SdkEntity", metadataHash = 761099292)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.SourceRootEntity", metadataHash = -2072900467)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.SourceRootOrderEntity", metadataHash = -1720145472)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.TestModulePropertiesEntity", metadataHash = -585221347)
|
||||
addMetadataHash(typeFqn = "com.intellij.java.workspace.entities.ArtifactId", metadataHash = 411477007)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.LibraryId", metadataHash = -313921070)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.LibraryTableId", metadataHash = -1475000117)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.TestModulePropertiesEntity", metadataHash = -112680261)
|
||||
addMetadataHash(typeFqn = "com.intellij.java.workspace.entities.ArtifactId", metadataHash = 521134129)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.LibraryId", metadataHash = 1192700660)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.LibraryTableId", metadataHash = -219154451)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.LibraryTableId\$GlobalLibraryTableId", metadataHash = 1911253865)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.LibraryTableId\$ModuleLibraryTableId", metadataHash = -1817822292)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.ModuleId", metadataHash = -684863835)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.LibraryTableId\$ModuleLibraryTableId", metadataHash = 777479370)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.ModuleId", metadataHash = -575206713)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.LibraryTableId\$ProjectLibraryTableId", metadataHash = -1574432194)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.FacetId", metadataHash = 1507367017)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.FacetId", metadataHash = 2064524777)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.FacetEntityTypeId", metadataHash = -963163377)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.LibraryTypeId", metadataHash = 282033134)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.LibraryRoot", metadataHash = -909142712)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.LibraryRoot", metadataHash = 1138801924)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.LibraryRoot\$InclusionOptions", metadataHash = 1892962823)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.LibraryRootTypeId", metadataHash = -389178127)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.LibraryRoot\$InclusionOptions", metadataHash = 1781041525)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.ModuleTypeId", metadataHash = 56899897)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.ModuleDependencyItem", metadataHash = 1232498200)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.ModuleDependencyItem", metadataHash = -907000292)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.InheritedSdkDependency", metadataHash = -1690206127)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.LibraryDependency", metadataHash = -1835390724)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.DependencyScope", metadataHash = 921275141)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.ModuleDependency", metadataHash = 831129115)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.LibraryDependency", metadataHash = 494611792)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.DependencyScope", metadataHash = 1284754485)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.ModuleDependency", metadataHash = -409169331)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.ModuleSourceDependency", metadataHash = -1334065142)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.SdkDependency", metadataHash = 157464162)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.SdkId", metadataHash = -1839163146)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.SdkRoot", metadataHash = 18907249)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.SdkDependency", metadataHash = 1386665092)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.SdkId", metadataHash = 51502100)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.SdkRoot", metadataHash = -1071024339)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.SdkRootTypeId", metadataHash = 1718825746)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.entities.SourceRootTypeId", metadataHash = 619871016)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.storage.SymbolicEntityId", metadataHash = 1670602672)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.storage.EntitySource", metadataHash = 1035119344)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.CustomModuleEntitySource", metadataHash = -826697445)
|
||||
addMetadataHash(typeFqn = "com.intellij.java.configurationStore.SampleDummyParentCustomModuleEntitySource", metadataHash = -1785529430)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.JpsFileEntitySource", metadataHash = -1709137196)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.JpsGlobalFileEntitySource", metadataHash = -1063074881)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.JpsProjectFileEntitySource", metadataHash = -182040200)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.JpsProjectFileEntitySource\$ExactFile", metadataHash = 1636464627)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation", metadataHash = 153096835)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation\$DirectoryBased", metadataHash = -1619672141)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation\$FileBased", metadataHash = 656180261)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.JpsProjectFileEntitySource\$FileInDirectory", metadataHash = 1674493712)
|
||||
addMetadataHash(typeFqn = "com.jetbrains.cidr.workspaceModelBridge.OCEntityDummyModuleSource", metadataHash = 1532878769)
|
||||
addMetadataHash(typeFqn = "com.jetbrains.cidr.workspaceModelBridge.OCImportedModuleEntitySource", metadataHash = -564185158)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.JpsImportedEntitySource", metadataHash = 1084725661)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.storage.SymbolicEntityId", metadataHash = -266259058)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.storage.EntitySource", metadataHash = 1912951729)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.CustomModuleEntitySource", metadataHash = -768510244)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.GlobalStorageEntitySource", metadataHash = -1096189621)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.JpsGlobalFileEntitySource", metadataHash = -29934016)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.JpsFileEntitySource", metadataHash = 1441310205)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.JpsProjectFileEntitySource", metadataHash = -1393975338)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.JpsProjectFileEntitySource\$ExactFile", metadataHash = -835143991)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation", metadataHash = -1739374703)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation\$DirectoryBased", metadataHash = 1161787715)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation\$FileBased", metadataHash = -2127607065)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.JpsProjectFileEntitySource\$FileInDirectory", metadataHash = -1735535414)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.JpsImportedEntitySource", metadataHash = -249639656)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.OrphanageWorkerEntitySource", metadataHash = -1975113868)
|
||||
}
|
||||
|
||||
|
||||
+22
-24
@@ -8,15 +8,6 @@ import com.intellij.openapi.util.NlsSafe
|
||||
import com.intellij.platform.workspace.jps.entities.LibraryId
|
||||
import com.intellij.platform.workspace.jps.entities.ModuleId
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeApiVersion
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeImplVersion
|
||||
import com.intellij.platform.workspace.storage.MutableEntityStorage
|
||||
import com.intellij.platform.workspace.storage.SymbolicEntityId
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntity
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntityInternalApi
|
||||
import com.intellij.platform.workspace.storage.annotations.Abstract
|
||||
import com.intellij.platform.workspace.storage.annotations.Child
|
||||
import com.intellij.platform.workspace.storage.impl.EntityLink
|
||||
@@ -38,13 +29,14 @@ import org.jetbrains.annotations.NonNls
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class ModuleOutputPackagingElementEntityImpl(private val dataSource: ModuleOutputPackagingElementEntityData) : ModuleOutputPackagingElementEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class ModuleOutputPackagingElementEntityImpl(private val dataSource: ModuleOutputPackagingElementEntityData) :
|
||||
ModuleOutputPackagingElementEntity, WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
internal val PARENTENTITY_CONNECTION_ID: ConnectionId = ConnectionId.create(CompositePackagingElementEntity::class.java,
|
||||
PackagingElementEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY, true)
|
||||
internal val PARENTENTITY_CONNECTION_ID: ConnectionId = ConnectionId.create(
|
||||
CompositePackagingElementEntity::class.java, PackagingElementEntity::class.java, ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY,
|
||||
true
|
||||
)
|
||||
|
||||
private val connections = listOf<ConnectionId>(
|
||||
PARENTENTITY_CONNECTION_ID,
|
||||
@@ -72,8 +64,9 @@ internal class ModuleOutputPackagingElementEntityImpl(private val dataSource: Mo
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: ModuleOutputPackagingElementEntityData?) : ModifiableWorkspaceEntityBase<ModuleOutputPackagingElementEntity, ModuleOutputPackagingElementEntityData>(
|
||||
result), ModuleOutputPackagingElementEntity.Builder {
|
||||
internal class Builder(result: ModuleOutputPackagingElementEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<ModuleOutputPackagingElementEntity, ModuleOutputPackagingElementEntityData>(result),
|
||||
ModuleOutputPackagingElementEntity.Builder {
|
||||
internal constructor() : this(ModuleOutputPackagingElementEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -133,14 +126,17 @@ internal class ModuleOutputPackagingElementEntityImpl(private val dataSource: Mo
|
||||
val _diff = diff
|
||||
return if (_diff != null) {
|
||||
@OptIn(EntityStorageInstrumentationApi::class)
|
||||
((_diff as MutableEntityStorageInstrumentation).getParentBuilder(PARENTENTITY_CONNECTION_ID,
|
||||
this) as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
?: (this.entityLinks[EntityLink(false,
|
||||
PARENTENTITY_CONNECTION_ID)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
((_diff as MutableEntityStorageInstrumentation).getParentBuilder(
|
||||
PARENTENTITY_CONNECTION_ID, this
|
||||
) as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
?: (this.entityLinks[EntityLink(
|
||||
false, PARENTENTITY_CONNECTION_ID
|
||||
)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
}
|
||||
else {
|
||||
this.entityLinks[EntityLink(false,
|
||||
PARENTENTITY_CONNECTION_ID)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>
|
||||
this.entityLinks[EntityLink(
|
||||
false, PARENTENTITY_CONNECTION_ID
|
||||
)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>
|
||||
}
|
||||
}
|
||||
set(value) {
|
||||
@@ -261,7 +257,8 @@ internal class ModuleOutputPackagingElementEntityData : WorkspaceEntityData<Modu
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.java.workspace.entities.ModuleOutputPackagingElementEntity") as EntityMetadata
|
||||
"com.intellij.java.workspace.entities.ModuleOutputPackagingElementEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun getEntityInterface(): Class<out WorkspaceEntity> {
|
||||
@@ -271,7 +268,8 @@ internal class ModuleOutputPackagingElementEntityData : WorkspaceEntityData<Modu
|
||||
override fun createDetachedEntity(parents: List<WorkspaceEntity.Builder<*>>): WorkspaceEntity.Builder<*> {
|
||||
return ModuleOutputPackagingElementEntity(entitySource) {
|
||||
this.module = this@ModuleOutputPackagingElementEntityData.module
|
||||
this.parentEntity = parents.filterIsInstance<CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>>().singleOrNull()
|
||||
this.parentEntity =
|
||||
parents.filterIsInstance<CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>>().singleOrNull()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+22
-24
@@ -8,15 +8,6 @@ import com.intellij.openapi.util.NlsSafe
|
||||
import com.intellij.platform.workspace.jps.entities.LibraryId
|
||||
import com.intellij.platform.workspace.jps.entities.ModuleId
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeApiVersion
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeImplVersion
|
||||
import com.intellij.platform.workspace.storage.MutableEntityStorage
|
||||
import com.intellij.platform.workspace.storage.SymbolicEntityId
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntity
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntityInternalApi
|
||||
import com.intellij.platform.workspace.storage.annotations.Abstract
|
||||
import com.intellij.platform.workspace.storage.annotations.Child
|
||||
import com.intellij.platform.workspace.storage.impl.EntityLink
|
||||
@@ -38,13 +29,14 @@ import org.jetbrains.annotations.NonNls
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class ModuleSourcePackagingElementEntityImpl(private val dataSource: ModuleSourcePackagingElementEntityData) : ModuleSourcePackagingElementEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class ModuleSourcePackagingElementEntityImpl(private val dataSource: ModuleSourcePackagingElementEntityData) :
|
||||
ModuleSourcePackagingElementEntity, WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
internal val PARENTENTITY_CONNECTION_ID: ConnectionId = ConnectionId.create(CompositePackagingElementEntity::class.java,
|
||||
PackagingElementEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY, true)
|
||||
internal val PARENTENTITY_CONNECTION_ID: ConnectionId = ConnectionId.create(
|
||||
CompositePackagingElementEntity::class.java, PackagingElementEntity::class.java, ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY,
|
||||
true
|
||||
)
|
||||
|
||||
private val connections = listOf<ConnectionId>(
|
||||
PARENTENTITY_CONNECTION_ID,
|
||||
@@ -72,8 +64,9 @@ internal class ModuleSourcePackagingElementEntityImpl(private val dataSource: Mo
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: ModuleSourcePackagingElementEntityData?) : ModifiableWorkspaceEntityBase<ModuleSourcePackagingElementEntity, ModuleSourcePackagingElementEntityData>(
|
||||
result), ModuleSourcePackagingElementEntity.Builder {
|
||||
internal class Builder(result: ModuleSourcePackagingElementEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<ModuleSourcePackagingElementEntity, ModuleSourcePackagingElementEntityData>(result),
|
||||
ModuleSourcePackagingElementEntity.Builder {
|
||||
internal constructor() : this(ModuleSourcePackagingElementEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -133,14 +126,17 @@ internal class ModuleSourcePackagingElementEntityImpl(private val dataSource: Mo
|
||||
val _diff = diff
|
||||
return if (_diff != null) {
|
||||
@OptIn(EntityStorageInstrumentationApi::class)
|
||||
((_diff as MutableEntityStorageInstrumentation).getParentBuilder(PARENTENTITY_CONNECTION_ID,
|
||||
this) as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
?: (this.entityLinks[EntityLink(false,
|
||||
PARENTENTITY_CONNECTION_ID)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
((_diff as MutableEntityStorageInstrumentation).getParentBuilder(
|
||||
PARENTENTITY_CONNECTION_ID, this
|
||||
) as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
?: (this.entityLinks[EntityLink(
|
||||
false, PARENTENTITY_CONNECTION_ID
|
||||
)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
}
|
||||
else {
|
||||
this.entityLinks[EntityLink(false,
|
||||
PARENTENTITY_CONNECTION_ID)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>
|
||||
this.entityLinks[EntityLink(
|
||||
false, PARENTENTITY_CONNECTION_ID
|
||||
)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>
|
||||
}
|
||||
}
|
||||
set(value) {
|
||||
@@ -261,7 +257,8 @@ internal class ModuleSourcePackagingElementEntityData : WorkspaceEntityData<Modu
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.java.workspace.entities.ModuleSourcePackagingElementEntity") as EntityMetadata
|
||||
"com.intellij.java.workspace.entities.ModuleSourcePackagingElementEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun getEntityInterface(): Class<out WorkspaceEntity> {
|
||||
@@ -271,7 +268,8 @@ internal class ModuleSourcePackagingElementEntityData : WorkspaceEntityData<Modu
|
||||
override fun createDetachedEntity(parents: List<WorkspaceEntity.Builder<*>>): WorkspaceEntity.Builder<*> {
|
||||
return ModuleSourcePackagingElementEntity(entitySource) {
|
||||
this.module = this@ModuleSourcePackagingElementEntityData.module
|
||||
this.parentEntity = parents.filterIsInstance<CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>>().singleOrNull()
|
||||
this.parentEntity =
|
||||
parents.filterIsInstance<CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>>().singleOrNull()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+22
-24
@@ -8,15 +8,6 @@ import com.intellij.openapi.util.NlsSafe
|
||||
import com.intellij.platform.workspace.jps.entities.LibraryId
|
||||
import com.intellij.platform.workspace.jps.entities.ModuleId
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeApiVersion
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeImplVersion
|
||||
import com.intellij.platform.workspace.storage.MutableEntityStorage
|
||||
import com.intellij.platform.workspace.storage.SymbolicEntityId
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntity
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntityInternalApi
|
||||
import com.intellij.platform.workspace.storage.annotations.Abstract
|
||||
import com.intellij.platform.workspace.storage.annotations.Child
|
||||
import com.intellij.platform.workspace.storage.impl.EntityLink
|
||||
@@ -38,13 +29,14 @@ import org.jetbrains.annotations.NonNls
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class ModuleTestOutputPackagingElementEntityImpl(private val dataSource: ModuleTestOutputPackagingElementEntityData) : ModuleTestOutputPackagingElementEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class ModuleTestOutputPackagingElementEntityImpl(private val dataSource: ModuleTestOutputPackagingElementEntityData) :
|
||||
ModuleTestOutputPackagingElementEntity, WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
internal val PARENTENTITY_CONNECTION_ID: ConnectionId = ConnectionId.create(CompositePackagingElementEntity::class.java,
|
||||
PackagingElementEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY, true)
|
||||
internal val PARENTENTITY_CONNECTION_ID: ConnectionId = ConnectionId.create(
|
||||
CompositePackagingElementEntity::class.java, PackagingElementEntity::class.java, ConnectionId.ConnectionType.ONE_TO_ABSTRACT_MANY,
|
||||
true
|
||||
)
|
||||
|
||||
private val connections = listOf<ConnectionId>(
|
||||
PARENTENTITY_CONNECTION_ID,
|
||||
@@ -72,8 +64,9 @@ internal class ModuleTestOutputPackagingElementEntityImpl(private val dataSource
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: ModuleTestOutputPackagingElementEntityData?) : ModifiableWorkspaceEntityBase<ModuleTestOutputPackagingElementEntity, ModuleTestOutputPackagingElementEntityData>(
|
||||
result), ModuleTestOutputPackagingElementEntity.Builder {
|
||||
internal class Builder(result: ModuleTestOutputPackagingElementEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<ModuleTestOutputPackagingElementEntity, ModuleTestOutputPackagingElementEntityData>(result),
|
||||
ModuleTestOutputPackagingElementEntity.Builder {
|
||||
internal constructor() : this(ModuleTestOutputPackagingElementEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -133,14 +126,17 @@ internal class ModuleTestOutputPackagingElementEntityImpl(private val dataSource
|
||||
val _diff = diff
|
||||
return if (_diff != null) {
|
||||
@OptIn(EntityStorageInstrumentationApi::class)
|
||||
((_diff as MutableEntityStorageInstrumentation).getParentBuilder(PARENTENTITY_CONNECTION_ID,
|
||||
this) as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
?: (this.entityLinks[EntityLink(false,
|
||||
PARENTENTITY_CONNECTION_ID)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
((_diff as MutableEntityStorageInstrumentation).getParentBuilder(
|
||||
PARENTENTITY_CONNECTION_ID, this
|
||||
) as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
?: (this.entityLinks[EntityLink(
|
||||
false, PARENTENTITY_CONNECTION_ID
|
||||
)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>)
|
||||
}
|
||||
else {
|
||||
this.entityLinks[EntityLink(false,
|
||||
PARENTENTITY_CONNECTION_ID)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>
|
||||
this.entityLinks[EntityLink(
|
||||
false, PARENTENTITY_CONNECTION_ID
|
||||
)] as? CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>
|
||||
}
|
||||
}
|
||||
set(value) {
|
||||
@@ -261,7 +257,8 @@ internal class ModuleTestOutputPackagingElementEntityData : WorkspaceEntityData<
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.java.workspace.entities.ModuleTestOutputPackagingElementEntity") as EntityMetadata
|
||||
"com.intellij.java.workspace.entities.ModuleTestOutputPackagingElementEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun getEntityInterface(): Class<out WorkspaceEntity> {
|
||||
@@ -271,7 +268,8 @@ internal class ModuleTestOutputPackagingElementEntityData : WorkspaceEntityData<
|
||||
override fun createDetachedEntity(parents: List<WorkspaceEntity.Builder<*>>): WorkspaceEntity.Builder<*> {
|
||||
return ModuleTestOutputPackagingElementEntity(entitySource) {
|
||||
this.module = this@ModuleTestOutputPackagingElementEntityData.module
|
||||
this.parentEntity = parents.filterIsInstance<CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>>().singleOrNull()
|
||||
this.parentEntity =
|
||||
parents.filterIsInstance<CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>>().singleOrNull()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+12
-20
@@ -7,14 +7,6 @@ import com.intellij.platform.workspace.jps.entities.ExcludeUrlEntity
|
||||
import com.intellij.platform.workspace.jps.entities.ModuleEntity
|
||||
import com.intellij.platform.workspace.jps.entities.SourceRootEntity
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeApiVersion
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeImplVersion
|
||||
import com.intellij.platform.workspace.storage.MutableEntityStorage
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntity
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntityInternalApi
|
||||
import com.intellij.platform.workspace.storage.annotations.Child
|
||||
import com.intellij.platform.workspace.storage.impl.EntityLink
|
||||
import com.intellij.platform.workspace.storage.impl.ModifiableWorkspaceEntityBase
|
||||
@@ -40,12 +32,12 @@ import org.jetbrains.annotations.NonNls
|
||||
internal class ContentRootEntityImpl(private val dataSource: ContentRootEntityData) : ContentRootEntity, WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
internal val MODULE_CONNECTION_ID: ConnectionId = ConnectionId.create(ModuleEntity::class.java, ContentRootEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_MANY, false)
|
||||
internal val SOURCEROOTS_CONNECTION_ID: ConnectionId = ConnectionId.create(ContentRootEntity::class.java, SourceRootEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_MANY, false)
|
||||
internal val EXCLUDEDURLS_CONNECTION_ID: ConnectionId = ConnectionId.create(ContentRootEntity::class.java, ExcludeUrlEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_MANY, true)
|
||||
internal val MODULE_CONNECTION_ID: ConnectionId =
|
||||
ConnectionId.create(ModuleEntity::class.java, ContentRootEntity::class.java, ConnectionId.ConnectionType.ONE_TO_MANY, false)
|
||||
internal val SOURCEROOTS_CONNECTION_ID: ConnectionId =
|
||||
ConnectionId.create(ContentRootEntity::class.java, SourceRootEntity::class.java, ConnectionId.ConnectionType.ONE_TO_MANY, false)
|
||||
internal val EXCLUDEDURLS_CONNECTION_ID: ConnectionId =
|
||||
ConnectionId.create(ContentRootEntity::class.java, ExcludeUrlEntity::class.java, ConnectionId.ConnectionType.ONE_TO_MANY, true)
|
||||
|
||||
private val connections = listOf<ConnectionId>(
|
||||
MODULE_CONNECTION_ID,
|
||||
@@ -87,8 +79,8 @@ internal class ContentRootEntityImpl(private val dataSource: ContentRootEntityDa
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: ContentRootEntityData?) : ModifiableWorkspaceEntityBase<ContentRootEntity, ContentRootEntityData>(
|
||||
result), ContentRootEntity.Builder {
|
||||
internal class Builder(result: ContentRootEntityData?) : ModifiableWorkspaceEntityBase<ContentRootEntity, ContentRootEntityData>(result),
|
||||
ContentRootEntity.Builder {
|
||||
internal constructor() : this(ContentRootEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -270,8 +262,8 @@ internal class ContentRootEntityImpl(private val dataSource: ContentRootEntityDa
|
||||
val _diff = diff
|
||||
return if (_diff != null) {
|
||||
@OptIn(EntityStorageInstrumentationApi::class)
|
||||
((_diff as MutableEntityStorageInstrumentation).getManyChildrenBuilders(SOURCEROOTS_CONNECTION_ID,
|
||||
this)!!.toList() as List<SourceRootEntity.Builder>) +
|
||||
((_diff as MutableEntityStorageInstrumentation).getManyChildrenBuilders(SOURCEROOTS_CONNECTION_ID, this)!!
|
||||
.toList() as List<SourceRootEntity.Builder>) +
|
||||
(this.entityLinks[EntityLink(true, SOURCEROOTS_CONNECTION_ID)] as? List<SourceRootEntity.Builder> ?: emptyList())
|
||||
}
|
||||
else {
|
||||
@@ -317,8 +309,8 @@ internal class ContentRootEntityImpl(private val dataSource: ContentRootEntityDa
|
||||
val _diff = diff
|
||||
return if (_diff != null) {
|
||||
@OptIn(EntityStorageInstrumentationApi::class)
|
||||
((_diff as MutableEntityStorageInstrumentation).getManyChildrenBuilders(EXCLUDEDURLS_CONNECTION_ID,
|
||||
this)!!.toList() as List<ExcludeUrlEntity.Builder>) +
|
||||
((_diff as MutableEntityStorageInstrumentation).getManyChildrenBuilders(EXCLUDEDURLS_CONNECTION_ID, this)!!
|
||||
.toList() as List<ExcludeUrlEntity.Builder>) +
|
||||
(this.entityLinks[EntityLink(true, EXCLUDEDURLS_CONNECTION_ID)] as? List<ExcludeUrlEntity.Builder> ?: emptyList())
|
||||
}
|
||||
else {
|
||||
|
||||
+10
-9
@@ -5,7 +5,6 @@ package com.intellij.platform.workspace.jps.entities.impl
|
||||
|
||||
import com.intellij.platform.workspace.jps.entities.CustomSourceRootPropertiesEntity
|
||||
import com.intellij.platform.workspace.jps.entities.SourceRootEntity
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
@@ -34,13 +33,13 @@ import org.jetbrains.annotations.NonNls
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class CustomSourceRootPropertiesEntityImpl(private val dataSource: CustomSourceRootPropertiesEntityData) : CustomSourceRootPropertiesEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class CustomSourceRootPropertiesEntityImpl(private val dataSource: CustomSourceRootPropertiesEntityData) :
|
||||
CustomSourceRootPropertiesEntity, WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
internal val SOURCEROOT_CONNECTION_ID: ConnectionId = ConnectionId.create(SourceRootEntity::class.java,
|
||||
CustomSourceRootPropertiesEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_ONE, false)
|
||||
internal val SOURCEROOT_CONNECTION_ID: ConnectionId = ConnectionId.create(
|
||||
SourceRootEntity::class.java, CustomSourceRootPropertiesEntity::class.java, ConnectionId.ConnectionType.ONE_TO_ONE, false
|
||||
)
|
||||
|
||||
private val connections = listOf<ConnectionId>(
|
||||
SOURCEROOT_CONNECTION_ID,
|
||||
@@ -68,8 +67,9 @@ internal class CustomSourceRootPropertiesEntityImpl(private val dataSource: Cust
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: CustomSourceRootPropertiesEntityData?) : ModifiableWorkspaceEntityBase<CustomSourceRootPropertiesEntity, CustomSourceRootPropertiesEntityData>(
|
||||
result), CustomSourceRootPropertiesEntity.Builder {
|
||||
internal class Builder(result: CustomSourceRootPropertiesEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<CustomSourceRootPropertiesEntity, CustomSourceRootPropertiesEntityData>(result),
|
||||
CustomSourceRootPropertiesEntity.Builder {
|
||||
internal constructor() : this(CustomSourceRootPropertiesEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -211,7 +211,8 @@ internal class CustomSourceRootPropertiesEntityData : WorkspaceEntityData<Custom
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.platform.workspace.jps.entities.CustomSourceRootPropertiesEntity") as EntityMetadata
|
||||
"com.intellij.platform.workspace.jps.entities.CustomSourceRootPropertiesEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun getEntityInterface(): Class<out WorkspaceEntity> {
|
||||
|
||||
+2
-3
@@ -2,7 +2,6 @@
|
||||
package com.intellij.platform.workspace.jps.entities.impl
|
||||
|
||||
import com.intellij.platform.workspace.jps.entities.ExcludeUrlEntity
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
@@ -49,8 +48,8 @@ internal class ExcludeUrlEntityImpl(private val dataSource: ExcludeUrlEntityData
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: ExcludeUrlEntityData?) : ModifiableWorkspaceEntityBase<ExcludeUrlEntity, ExcludeUrlEntityData>(
|
||||
result), ExcludeUrlEntity.Builder {
|
||||
internal class Builder(result: ExcludeUrlEntityData?) : ModifiableWorkspaceEntityBase<ExcludeUrlEntity, ExcludeUrlEntityData>(result),
|
||||
ExcludeUrlEntity.Builder {
|
||||
internal constructor() : this(ExcludeUrlEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
|
||||
+6
-8
@@ -5,7 +5,6 @@ package com.intellij.platform.workspace.jps.entities.impl
|
||||
|
||||
import com.intellij.platform.workspace.jps.entities.ContentRootEntity
|
||||
import com.intellij.platform.workspace.jps.entities.ExcludeUrlOrderEntity
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
@@ -35,13 +34,12 @@ import org.jetbrains.annotations.NonNls
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class ExcludeUrlOrderEntityImpl(private val dataSource: ExcludeUrlOrderEntityData) : ExcludeUrlOrderEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class ExcludeUrlOrderEntityImpl(private val dataSource: ExcludeUrlOrderEntityData) : ExcludeUrlOrderEntity,
|
||||
WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
internal val CONTENTROOT_CONNECTION_ID: ConnectionId = ConnectionId.create(ContentRootEntity::class.java,
|
||||
ExcludeUrlOrderEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_ONE, false)
|
||||
internal val CONTENTROOT_CONNECTION_ID: ConnectionId =
|
||||
ConnectionId.create(ContentRootEntity::class.java, ExcludeUrlOrderEntity::class.java, ConnectionId.ConnectionType.ONE_TO_ONE, false)
|
||||
|
||||
private val connections = listOf<ConnectionId>(
|
||||
CONTENTROOT_CONNECTION_ID,
|
||||
@@ -69,8 +67,8 @@ internal class ExcludeUrlOrderEntityImpl(private val dataSource: ExcludeUrlOrder
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: ExcludeUrlOrderEntityData?) : ModifiableWorkspaceEntityBase<ExcludeUrlOrderEntity, ExcludeUrlOrderEntityData>(
|
||||
result), ExcludeUrlOrderEntity.Builder {
|
||||
internal class Builder(result: ExcludeUrlOrderEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<ExcludeUrlOrderEntity, ExcludeUrlOrderEntityData>(result), ExcludeUrlOrderEntity.Builder {
|
||||
internal constructor() : this(ExcludeUrlOrderEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
|
||||
+16
-11
@@ -32,13 +32,13 @@ import org.jetbrains.annotations.NonNls
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class ExternalSystemModuleOptionsEntityImpl(private val dataSource: ExternalSystemModuleOptionsEntityData) : ExternalSystemModuleOptionsEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class ExternalSystemModuleOptionsEntityImpl(private val dataSource: ExternalSystemModuleOptionsEntityData) :
|
||||
ExternalSystemModuleOptionsEntity, WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
internal val MODULE_CONNECTION_ID: ConnectionId = ConnectionId.create(ModuleEntity::class.java,
|
||||
ExternalSystemModuleOptionsEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_ONE, false)
|
||||
internal val MODULE_CONNECTION_ID: ConnectionId = ConnectionId.create(
|
||||
ModuleEntity::class.java, ExternalSystemModuleOptionsEntity::class.java, ConnectionId.ConnectionType.ONE_TO_ONE, false
|
||||
)
|
||||
|
||||
private val connections = listOf<ConnectionId>(
|
||||
MODULE_CONNECTION_ID,
|
||||
@@ -102,8 +102,9 @@ internal class ExternalSystemModuleOptionsEntityImpl(private val dataSource: Ext
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: ExternalSystemModuleOptionsEntityData?) : ModifiableWorkspaceEntityBase<ExternalSystemModuleOptionsEntity, ExternalSystemModuleOptionsEntityData>(
|
||||
result), ExternalSystemModuleOptionsEntity.Builder {
|
||||
internal class Builder(result: ExternalSystemModuleOptionsEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<ExternalSystemModuleOptionsEntity, ExternalSystemModuleOptionsEntityData>(result),
|
||||
ExternalSystemModuleOptionsEntity.Builder {
|
||||
internal constructor() : this(ExternalSystemModuleOptionsEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -155,12 +156,15 @@ internal class ExternalSystemModuleOptionsEntityImpl(private val dataSource: Ext
|
||||
dataSource as ExternalSystemModuleOptionsEntity
|
||||
if (this.entitySource != dataSource.entitySource) this.entitySource = dataSource.entitySource
|
||||
if (this.externalSystem != dataSource?.externalSystem) this.externalSystem = dataSource.externalSystem
|
||||
if (this.externalSystemModuleVersion != dataSource?.externalSystemModuleVersion) this.externalSystemModuleVersion = dataSource.externalSystemModuleVersion
|
||||
if (this.externalSystemModuleVersion != dataSource?.externalSystemModuleVersion) this.externalSystemModuleVersion =
|
||||
dataSource.externalSystemModuleVersion
|
||||
if (this.linkedProjectPath != dataSource?.linkedProjectPath) this.linkedProjectPath = dataSource.linkedProjectPath
|
||||
if (this.linkedProjectId != dataSource?.linkedProjectId) this.linkedProjectId = dataSource.linkedProjectId
|
||||
if (this.rootProjectPath != dataSource?.rootProjectPath) this.rootProjectPath = dataSource.rootProjectPath
|
||||
if (this.externalSystemModuleGroup != dataSource?.externalSystemModuleGroup) this.externalSystemModuleGroup = dataSource.externalSystemModuleGroup
|
||||
if (this.externalSystemModuleType != dataSource?.externalSystemModuleType) this.externalSystemModuleType = dataSource.externalSystemModuleType
|
||||
if (this.externalSystemModuleGroup != dataSource?.externalSystemModuleGroup) this.externalSystemModuleGroup =
|
||||
dataSource.externalSystemModuleGroup
|
||||
if (this.externalSystemModuleType != dataSource?.externalSystemModuleType) this.externalSystemModuleType =
|
||||
dataSource.externalSystemModuleType
|
||||
updateChildToParentReferences(parents)
|
||||
}
|
||||
|
||||
@@ -301,7 +305,8 @@ internal class ExternalSystemModuleOptionsEntityData : WorkspaceEntityData<Exter
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.platform.workspace.jps.entities.ExternalSystemModuleOptionsEntity") as EntityMetadata
|
||||
"com.intellij.platform.workspace.jps.entities.ExternalSystemModuleOptionsEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun getEntityInterface(): Class<out WorkspaceEntity> {
|
||||
|
||||
+31
-32
@@ -6,7 +6,6 @@ import com.intellij.platform.workspace.jps.entities.FacetEntityTypeId
|
||||
import com.intellij.platform.workspace.jps.entities.FacetId
|
||||
import com.intellij.platform.workspace.jps.entities.ModuleEntity
|
||||
import com.intellij.platform.workspace.jps.entities.ModuleId
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
@@ -37,10 +36,10 @@ import org.jetbrains.annotations.NonNls
|
||||
internal class FacetEntityImpl(private val dataSource: FacetEntityData) : FacetEntity, WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
internal val MODULE_CONNECTION_ID: ConnectionId = ConnectionId.create(ModuleEntity::class.java, FacetEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_MANY, false)
|
||||
internal val UNDERLYINGFACET_CONNECTION_ID: ConnectionId = ConnectionId.create(FacetEntity::class.java, FacetEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_MANY, true)
|
||||
internal val MODULE_CONNECTION_ID: ConnectionId =
|
||||
ConnectionId.create(ModuleEntity::class.java, FacetEntity::class.java, ConnectionId.ConnectionType.ONE_TO_MANY, false)
|
||||
internal val UNDERLYINGFACET_CONNECTION_ID: ConnectionId =
|
||||
ConnectionId.create(FacetEntity::class.java, FacetEntity::class.java, ConnectionId.ConnectionType.ONE_TO_MANY, true)
|
||||
|
||||
private val connections = listOf<ConnectionId>(
|
||||
MODULE_CONNECTION_ID,
|
||||
@@ -51,18 +50,18 @@ internal class FacetEntityImpl(private val dataSource: FacetEntityData) : FacetE
|
||||
|
||||
override val symbolicId: FacetId = super.symbolicId
|
||||
|
||||
override val name: String
|
||||
get() {
|
||||
readField("name")
|
||||
return dataSource.name
|
||||
}
|
||||
|
||||
override val moduleId: ModuleId
|
||||
get() {
|
||||
readField("moduleId")
|
||||
return dataSource.moduleId
|
||||
}
|
||||
|
||||
override val name: String
|
||||
get() {
|
||||
readField("name")
|
||||
return dataSource.name
|
||||
}
|
||||
|
||||
override val typeId: FacetEntityTypeId
|
||||
get() {
|
||||
readField("typeId")
|
||||
@@ -92,8 +91,8 @@ internal class FacetEntityImpl(private val dataSource: FacetEntityData) : FacetE
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: FacetEntityData?) : ModifiableWorkspaceEntityBase<FacetEntity, FacetEntityData>(
|
||||
result), FacetEntity.Builder {
|
||||
internal class Builder(result: FacetEntityData?) : ModifiableWorkspaceEntityBase<FacetEntity, FacetEntityData>(result),
|
||||
FacetEntity.Builder {
|
||||
internal constructor() : this(FacetEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -124,12 +123,12 @@ internal class FacetEntityImpl(private val dataSource: FacetEntityData) : FacetE
|
||||
if (!getEntityData().isEntitySourceInitialized()) {
|
||||
error("Field WorkspaceEntity#entitySource should be initialized")
|
||||
}
|
||||
if (!getEntityData().isNameInitialized()) {
|
||||
error("Field ModuleSettingsFacetBridgeEntity#name should be initialized")
|
||||
}
|
||||
if (!getEntityData().isModuleIdInitialized()) {
|
||||
error("Field ModuleSettingsFacetBridgeEntity#moduleId should be initialized")
|
||||
}
|
||||
if (!getEntityData().isNameInitialized()) {
|
||||
error("Field ModuleSettingsFacetBridgeEntity#name should be initialized")
|
||||
}
|
||||
if (!getEntityData().isTypeIdInitialized()) {
|
||||
error("Field FacetEntity#typeId should be initialized")
|
||||
}
|
||||
@@ -153,8 +152,8 @@ internal class FacetEntityImpl(private val dataSource: FacetEntityData) : FacetE
|
||||
override fun relabel(dataSource: WorkspaceEntity, parents: Set<WorkspaceEntity>?) {
|
||||
dataSource as FacetEntity
|
||||
if (this.entitySource != dataSource.entitySource) this.entitySource = dataSource.entitySource
|
||||
if (this.name != dataSource.name) this.name = dataSource.name
|
||||
if (this.moduleId != dataSource.moduleId) this.moduleId = dataSource.moduleId
|
||||
if (this.name != dataSource.name) this.name = dataSource.name
|
||||
if (this.typeId != dataSource.typeId) this.typeId = dataSource.typeId
|
||||
if (this.configurationXmlTag != dataSource?.configurationXmlTag) this.configurationXmlTag = dataSource.configurationXmlTag
|
||||
updateChildToParentReferences(parents)
|
||||
@@ -170,14 +169,6 @@ internal class FacetEntityImpl(private val dataSource: FacetEntityData) : FacetE
|
||||
|
||||
}
|
||||
|
||||
override var name: String
|
||||
get() = getEntityData().name
|
||||
set(value) {
|
||||
checkModificationAllowed()
|
||||
getEntityData(true).name = value
|
||||
changedProperty.add("name")
|
||||
}
|
||||
|
||||
override var moduleId: ModuleId
|
||||
get() = getEntityData().moduleId
|
||||
set(value) {
|
||||
@@ -187,6 +178,14 @@ internal class FacetEntityImpl(private val dataSource: FacetEntityData) : FacetE
|
||||
|
||||
}
|
||||
|
||||
override var name: String
|
||||
get() = getEntityData().name
|
||||
set(value) {
|
||||
checkModificationAllowed()
|
||||
getEntityData(true).name = value
|
||||
changedProperty.add("name")
|
||||
}
|
||||
|
||||
override var typeId: FacetEntityTypeId
|
||||
get() = getEntityData().typeId
|
||||
set(value) {
|
||||
@@ -290,13 +289,13 @@ internal class FacetEntityImpl(private val dataSource: FacetEntityData) : FacetE
|
||||
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class FacetEntityData : WorkspaceEntityData<FacetEntity>(), SoftLinkable {
|
||||
lateinit var name: String
|
||||
lateinit var moduleId: ModuleId
|
||||
lateinit var name: String
|
||||
lateinit var typeId: FacetEntityTypeId
|
||||
var configurationXmlTag: String? = null
|
||||
|
||||
internal fun isNameInitialized(): Boolean = ::name.isInitialized
|
||||
internal fun isModuleIdInitialized(): Boolean = ::moduleId.isInitialized
|
||||
internal fun isNameInitialized(): Boolean = ::name.isInitialized
|
||||
internal fun isTypeIdInitialized(): Boolean = ::typeId.isInitialized
|
||||
|
||||
override fun getLinks(): Set<SymbolicEntityId<*>> {
|
||||
@@ -363,7 +362,7 @@ internal class FacetEntityData : WorkspaceEntityData<FacetEntity>(), SoftLinkabl
|
||||
}
|
||||
|
||||
override fun createDetachedEntity(parents: List<WorkspaceEntity.Builder<*>>): WorkspaceEntity.Builder<*> {
|
||||
return FacetEntity(name, moduleId, typeId, entitySource) {
|
||||
return FacetEntity(moduleId, name, typeId, entitySource) {
|
||||
this.configurationXmlTag = this@FacetEntityData.configurationXmlTag
|
||||
parents.filterIsInstance<ModuleEntity.Builder>().singleOrNull()?.let { this.module = it }
|
||||
this.underlyingFacet = parents.filterIsInstance<FacetEntity.Builder>().singleOrNull()
|
||||
@@ -383,8 +382,8 @@ internal class FacetEntityData : WorkspaceEntityData<FacetEntity>(), SoftLinkabl
|
||||
other as FacetEntityData
|
||||
|
||||
if (this.entitySource != other.entitySource) return false
|
||||
if (this.name != other.name) return false
|
||||
if (this.moduleId != other.moduleId) return false
|
||||
if (this.name != other.name) return false
|
||||
if (this.typeId != other.typeId) return false
|
||||
if (this.configurationXmlTag != other.configurationXmlTag) return false
|
||||
return true
|
||||
@@ -396,8 +395,8 @@ internal class FacetEntityData : WorkspaceEntityData<FacetEntity>(), SoftLinkabl
|
||||
|
||||
other as FacetEntityData
|
||||
|
||||
if (this.name != other.name) return false
|
||||
if (this.moduleId != other.moduleId) return false
|
||||
if (this.name != other.name) return false
|
||||
if (this.typeId != other.typeId) return false
|
||||
if (this.configurationXmlTag != other.configurationXmlTag) return false
|
||||
return true
|
||||
@@ -405,8 +404,8 @@ internal class FacetEntityData : WorkspaceEntityData<FacetEntity>(), SoftLinkabl
|
||||
|
||||
override fun hashCode(): Int {
|
||||
var result = entitySource.hashCode()
|
||||
result = 31 * result + name.hashCode()
|
||||
result = 31 * result + moduleId.hashCode()
|
||||
result = 31 * result + name.hashCode()
|
||||
result = 31 * result + typeId.hashCode()
|
||||
result = 31 * result + configurationXmlTag.hashCode()
|
||||
return result
|
||||
@@ -414,8 +413,8 @@ internal class FacetEntityData : WorkspaceEntityData<FacetEntity>(), SoftLinkabl
|
||||
|
||||
override fun hashCodeIgnoringEntitySource(): Int {
|
||||
var result = javaClass.hashCode()
|
||||
result = 31 * result + name.hashCode()
|
||||
result = 31 * result + moduleId.hashCode()
|
||||
result = 31 * result + name.hashCode()
|
||||
result = 31 * result + typeId.hashCode()
|
||||
result = 31 * result + configurationXmlTag.hashCode()
|
||||
return result
|
||||
|
||||
+4
-4
@@ -34,8 +34,8 @@ import org.jetbrains.annotations.ApiStatus.Internal
|
||||
internal class FacetsOrderEntityImpl(private val dataSource: FacetsOrderEntityData) : FacetsOrderEntity, WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
internal val MODULEENTITY_CONNECTION_ID: ConnectionId = ConnectionId.create(ModuleEntity::class.java, FacetsOrderEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_ONE, false)
|
||||
internal val MODULEENTITY_CONNECTION_ID: ConnectionId =
|
||||
ConnectionId.create(ModuleEntity::class.java, FacetsOrderEntity::class.java, ConnectionId.ConnectionType.ONE_TO_ONE, false)
|
||||
|
||||
private val connections = listOf<ConnectionId>(
|
||||
MODULEENTITY_CONNECTION_ID,
|
||||
@@ -63,8 +63,8 @@ internal class FacetsOrderEntityImpl(private val dataSource: FacetsOrderEntityDa
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: FacetsOrderEntityData?) : ModifiableWorkspaceEntityBase<FacetsOrderEntity, FacetsOrderEntityData>(
|
||||
result), FacetsOrderEntity.Builder {
|
||||
internal class Builder(result: FacetsOrderEntityData?) : ModifiableWorkspaceEntityBase<FacetsOrderEntity, FacetsOrderEntityData>(result),
|
||||
FacetsOrderEntity.Builder {
|
||||
internal constructor() : this(FacetsOrderEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
|
||||
+6
-6
@@ -45,8 +45,8 @@ import org.jetbrains.annotations.NonNls
|
||||
internal class LibraryEntityImpl(private val dataSource: LibraryEntityData) : LibraryEntity, WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
internal val EXCLUDEDROOTS_CONNECTION_ID: ConnectionId = ConnectionId.create(LibraryEntity::class.java, ExcludeUrlEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_MANY, true)
|
||||
internal val EXCLUDEDROOTS_CONNECTION_ID: ConnectionId =
|
||||
ConnectionId.create(LibraryEntity::class.java, ExcludeUrlEntity::class.java, ConnectionId.ConnectionType.ONE_TO_MANY, true)
|
||||
|
||||
private val connections = listOf<ConnectionId>(
|
||||
EXCLUDEDROOTS_CONNECTION_ID,
|
||||
@@ -94,8 +94,8 @@ internal class LibraryEntityImpl(private val dataSource: LibraryEntityData) : Li
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: LibraryEntityData?) : ModifiableWorkspaceEntityBase<LibraryEntity, LibraryEntityData>(
|
||||
result), LibraryEntity.Builder {
|
||||
internal class Builder(result: LibraryEntityData?) : ModifiableWorkspaceEntityBase<LibraryEntity, LibraryEntityData>(result),
|
||||
LibraryEntity.Builder {
|
||||
internal constructor() : this(LibraryEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -254,8 +254,8 @@ internal class LibraryEntityImpl(private val dataSource: LibraryEntityData) : Li
|
||||
val _diff = diff
|
||||
return if (_diff != null) {
|
||||
@OptIn(EntityStorageInstrumentationApi::class)
|
||||
((_diff as MutableEntityStorageInstrumentation).getManyChildrenBuilders(EXCLUDEDROOTS_CONNECTION_ID,
|
||||
this)!!.toList() as List<ExcludeUrlEntity.Builder>) +
|
||||
((_diff as MutableEntityStorageInstrumentation).getManyChildrenBuilders(EXCLUDEDROOTS_CONNECTION_ID, this)!!
|
||||
.toList() as List<ExcludeUrlEntity.Builder>) +
|
||||
(this.entityLinks[EntityLink(true, EXCLUDEDROOTS_CONNECTION_ID)] as? List<ExcludeUrlEntity.Builder> ?: emptyList())
|
||||
}
|
||||
else {
|
||||
|
||||
+8
-7
@@ -29,12 +29,12 @@ import org.jetbrains.annotations.NonNls
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class LibraryPropertiesEntityImpl(private val dataSource: LibraryPropertiesEntityData) : LibraryPropertiesEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class LibraryPropertiesEntityImpl(private val dataSource: LibraryPropertiesEntityData) : LibraryPropertiesEntity,
|
||||
WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
internal val LIBRARY_CONNECTION_ID: ConnectionId = ConnectionId.create(LibraryEntity::class.java, LibraryPropertiesEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_ONE, false)
|
||||
internal val LIBRARY_CONNECTION_ID: ConnectionId =
|
||||
ConnectionId.create(LibraryEntity::class.java, LibraryPropertiesEntity::class.java, ConnectionId.ConnectionType.ONE_TO_ONE, false)
|
||||
|
||||
private val connections = listOf<ConnectionId>(
|
||||
LIBRARY_CONNECTION_ID,
|
||||
@@ -62,8 +62,8 @@ internal class LibraryPropertiesEntityImpl(private val dataSource: LibraryProper
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: LibraryPropertiesEntityData?) : ModifiableWorkspaceEntityBase<LibraryPropertiesEntity, LibraryPropertiesEntityData>(
|
||||
result), LibraryPropertiesEntity.Builder {
|
||||
internal class Builder(result: LibraryPropertiesEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<LibraryPropertiesEntity, LibraryPropertiesEntityData>(result), LibraryPropertiesEntity.Builder {
|
||||
internal constructor() : this(LibraryPropertiesEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -201,7 +201,8 @@ internal class LibraryPropertiesEntityData : WorkspaceEntityData<LibraryProperti
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.platform.workspace.jps.entities.LibraryPropertiesEntity") as EntityMetadata
|
||||
"com.intellij.platform.workspace.jps.entities.LibraryPropertiesEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun getEntityInterface(): Class<out WorkspaceEntity> {
|
||||
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.platform.workspace.jps.entities.impl
|
||||
|
||||
import com.intellij.java.workspace.entities.impl.MetadataStorageImpl
|
||||
|
||||
+12
-9
@@ -32,12 +32,12 @@ import org.jetbrains.annotations.NonNls
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class ModuleCustomImlDataEntityImpl(private val dataSource: ModuleCustomImlDataEntityData) : ModuleCustomImlDataEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class ModuleCustomImlDataEntityImpl(private val dataSource: ModuleCustomImlDataEntityData) : ModuleCustomImlDataEntity,
|
||||
WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
internal val MODULE_CONNECTION_ID: ConnectionId = ConnectionId.create(ModuleEntity::class.java, ModuleCustomImlDataEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_ONE, false)
|
||||
internal val MODULE_CONNECTION_ID: ConnectionId =
|
||||
ConnectionId.create(ModuleEntity::class.java, ModuleCustomImlDataEntity::class.java, ConnectionId.ConnectionType.ONE_TO_ONE, false)
|
||||
|
||||
private val connections = listOf<ConnectionId>(
|
||||
MODULE_CONNECTION_ID,
|
||||
@@ -70,8 +70,8 @@ internal class ModuleCustomImlDataEntityImpl(private val dataSource: ModuleCusto
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: ModuleCustomImlDataEntityData?) : ModifiableWorkspaceEntityBase<ModuleCustomImlDataEntity, ModuleCustomImlDataEntityData>(
|
||||
result), ModuleCustomImlDataEntity.Builder {
|
||||
internal class Builder(result: ModuleCustomImlDataEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<ModuleCustomImlDataEntity, ModuleCustomImlDataEntityData>(result), ModuleCustomImlDataEntity.Builder {
|
||||
internal constructor() : this(ModuleCustomImlDataEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -125,8 +125,10 @@ internal class ModuleCustomImlDataEntityImpl(private val dataSource: ModuleCusto
|
||||
override fun relabel(dataSource: WorkspaceEntity, parents: Set<WorkspaceEntity>?) {
|
||||
dataSource as ModuleCustomImlDataEntity
|
||||
if (this.entitySource != dataSource.entitySource) this.entitySource = dataSource.entitySource
|
||||
if (this.rootManagerTagCustomData != dataSource?.rootManagerTagCustomData) this.rootManagerTagCustomData = dataSource.rootManagerTagCustomData
|
||||
if (this.customModuleOptions != dataSource.customModuleOptions) this.customModuleOptions = dataSource.customModuleOptions.toMutableMap()
|
||||
if (this.rootManagerTagCustomData != dataSource?.rootManagerTagCustomData) this.rootManagerTagCustomData =
|
||||
dataSource.rootManagerTagCustomData
|
||||
if (this.customModuleOptions != dataSource.customModuleOptions) this.customModuleOptions =
|
||||
dataSource.customModuleOptions.toMutableMap()
|
||||
updateChildToParentReferences(parents)
|
||||
}
|
||||
|
||||
@@ -223,7 +225,8 @@ internal class ModuleCustomImlDataEntityData : WorkspaceEntityData<ModuleCustomI
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.platform.workspace.jps.entities.ModuleCustomImlDataEntity") as EntityMetadata
|
||||
"com.intellij.platform.workspace.jps.entities.ModuleCustomImlDataEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun getEntityInterface(): Class<out WorkspaceEntity> {
|
||||
|
||||
+10
-19
@@ -18,15 +18,6 @@ import com.intellij.platform.workspace.jps.entities.ModuleTypeId
|
||||
import com.intellij.platform.workspace.jps.entities.SdkDependency
|
||||
import com.intellij.platform.workspace.jps.entities.SdkId
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeApiVersion
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeImplVersion
|
||||
import com.intellij.platform.workspace.storage.MutableEntityStorage
|
||||
import com.intellij.platform.workspace.storage.SymbolicEntityId
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntity
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntityInternalApi
|
||||
import com.intellij.platform.workspace.storage.annotations.Child
|
||||
import com.intellij.platform.workspace.storage.impl.EntityLink
|
||||
import com.intellij.platform.workspace.storage.impl.ModifiableWorkspaceEntityBase
|
||||
@@ -51,10 +42,10 @@ import org.jetbrains.annotations.NonNls
|
||||
internal class ModuleEntityImpl(private val dataSource: ModuleEntityData) : ModuleEntity, WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
internal val CONTENTROOTS_CONNECTION_ID: ConnectionId = ConnectionId.create(ModuleEntity::class.java, ContentRootEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_MANY, false)
|
||||
internal val FACETS_CONNECTION_ID: ConnectionId = ConnectionId.create(ModuleEntity::class.java, FacetEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_MANY, false)
|
||||
internal val CONTENTROOTS_CONNECTION_ID: ConnectionId =
|
||||
ConnectionId.create(ModuleEntity::class.java, ContentRootEntity::class.java, ConnectionId.ConnectionType.ONE_TO_MANY, false)
|
||||
internal val FACETS_CONNECTION_ID: ConnectionId =
|
||||
ConnectionId.create(ModuleEntity::class.java, FacetEntity::class.java, ConnectionId.ConnectionType.ONE_TO_MANY, false)
|
||||
|
||||
private val connections = listOf<ConnectionId>(
|
||||
CONTENTROOTS_CONNECTION_ID,
|
||||
@@ -100,8 +91,8 @@ internal class ModuleEntityImpl(private val dataSource: ModuleEntityData) : Modu
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: ModuleEntityData?) : ModifiableWorkspaceEntityBase<ModuleEntity, ModuleEntityData>(
|
||||
result), ModuleEntity.Builder {
|
||||
internal class Builder(result: ModuleEntityData?) : ModifiableWorkspaceEntityBase<ModuleEntity, ModuleEntityData>(result),
|
||||
ModuleEntity.Builder {
|
||||
internal constructor() : this(ModuleEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -240,8 +231,8 @@ internal class ModuleEntityImpl(private val dataSource: ModuleEntityData) : Modu
|
||||
val _diff = diff
|
||||
return if (_diff != null) {
|
||||
@OptIn(EntityStorageInstrumentationApi::class)
|
||||
((_diff as MutableEntityStorageInstrumentation).getManyChildrenBuilders(CONTENTROOTS_CONNECTION_ID,
|
||||
this)!!.toList() as List<ContentRootEntity.Builder>) +
|
||||
((_diff as MutableEntityStorageInstrumentation).getManyChildrenBuilders(CONTENTROOTS_CONNECTION_ID, this)!!
|
||||
.toList() as List<ContentRootEntity.Builder>) +
|
||||
(this.entityLinks[EntityLink(true, CONTENTROOTS_CONNECTION_ID)] as? List<ContentRootEntity.Builder> ?: emptyList())
|
||||
}
|
||||
else {
|
||||
@@ -287,8 +278,8 @@ internal class ModuleEntityImpl(private val dataSource: ModuleEntityData) : Modu
|
||||
val _diff = diff
|
||||
return if (_diff != null) {
|
||||
@OptIn(EntityStorageInstrumentationApi::class)
|
||||
((_diff as MutableEntityStorageInstrumentation).getManyChildrenBuilders(FACETS_CONNECTION_ID,
|
||||
this)!!.toList() as List<FacetEntity.Builder>) +
|
||||
((_diff as MutableEntityStorageInstrumentation).getManyChildrenBuilders(FACETS_CONNECTION_ID, this)!!
|
||||
.toList() as List<FacetEntity.Builder>) +
|
||||
(this.entityLinks[EntityLink(true, FACETS_CONNECTION_ID)] as? List<FacetEntity.Builder> ?: emptyList())
|
||||
}
|
||||
else {
|
||||
|
||||
+6
-6
@@ -33,12 +33,12 @@ import org.jetbrains.annotations.NonNls
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class ModuleGroupPathEntityImpl(private val dataSource: ModuleGroupPathEntityData) : ModuleGroupPathEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class ModuleGroupPathEntityImpl(private val dataSource: ModuleGroupPathEntityData) : ModuleGroupPathEntity,
|
||||
WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
internal val MODULE_CONNECTION_ID: ConnectionId = ConnectionId.create(ModuleEntity::class.java, ModuleGroupPathEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_ONE, false)
|
||||
internal val MODULE_CONNECTION_ID: ConnectionId =
|
||||
ConnectionId.create(ModuleEntity::class.java, ModuleGroupPathEntity::class.java, ConnectionId.ConnectionType.ONE_TO_ONE, false)
|
||||
|
||||
private val connections = listOf<ConnectionId>(
|
||||
MODULE_CONNECTION_ID,
|
||||
@@ -66,8 +66,8 @@ internal class ModuleGroupPathEntityImpl(private val dataSource: ModuleGroupPath
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: ModuleGroupPathEntityData?) : ModifiableWorkspaceEntityBase<ModuleGroupPathEntity, ModuleGroupPathEntityData>(
|
||||
result), ModuleGroupPathEntity.Builder {
|
||||
internal class Builder(result: ModuleGroupPathEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<ModuleGroupPathEntity, ModuleGroupPathEntityData>(result), ModuleGroupPathEntity.Builder {
|
||||
internal constructor() : this(ModuleGroupPathEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
|
||||
-8
@@ -5,14 +5,6 @@ import com.intellij.platform.workspace.jps.entities.SdkEntity
|
||||
import com.intellij.platform.workspace.jps.entities.SdkId
|
||||
import com.intellij.platform.workspace.jps.entities.SdkRoot
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeApiVersion
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeImplVersion
|
||||
import com.intellij.platform.workspace.storage.MutableEntityStorage
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntity
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntityInternalApi
|
||||
import com.intellij.platform.workspace.storage.impl.ModifiableWorkspaceEntityBase
|
||||
import com.intellij.platform.workspace.storage.impl.WorkspaceEntityBase
|
||||
import com.intellij.platform.workspace.storage.impl.WorkspaceEntityData
|
||||
|
||||
+4
-12
@@ -6,14 +6,6 @@ import com.intellij.platform.workspace.jps.entities.ContentRootEntity
|
||||
import com.intellij.platform.workspace.jps.entities.SourceRootEntity
|
||||
import com.intellij.platform.workspace.jps.entities.SourceRootTypeId
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeApiVersion
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeImplVersion
|
||||
import com.intellij.platform.workspace.storage.MutableEntityStorage
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntity
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntityInternalApi
|
||||
import com.intellij.platform.workspace.storage.annotations.Child
|
||||
import com.intellij.platform.workspace.storage.impl.EntityLink
|
||||
import com.intellij.platform.workspace.storage.impl.ModifiableWorkspaceEntityBase
|
||||
@@ -36,8 +28,8 @@ import org.jetbrains.annotations.NonNls
|
||||
internal class SourceRootEntityImpl(private val dataSource: SourceRootEntityData) : SourceRootEntity, WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
internal val CONTENTROOT_CONNECTION_ID: ConnectionId = ConnectionId.create(ContentRootEntity::class.java, SourceRootEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_MANY, false)
|
||||
internal val CONTENTROOT_CONNECTION_ID: ConnectionId =
|
||||
ConnectionId.create(ContentRootEntity::class.java, SourceRootEntity::class.java, ConnectionId.ConnectionType.ONE_TO_MANY, false)
|
||||
|
||||
private val connections = listOf<ConnectionId>(
|
||||
CONTENTROOT_CONNECTION_ID,
|
||||
@@ -71,8 +63,8 @@ internal class SourceRootEntityImpl(private val dataSource: SourceRootEntityData
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: SourceRootEntityData?) : ModifiableWorkspaceEntityBase<SourceRootEntity, SourceRootEntityData>(
|
||||
result), SourceRootEntity.Builder {
|
||||
internal class Builder(result: SourceRootEntityData?) : ModifiableWorkspaceEntityBase<SourceRootEntity, SourceRootEntityData>(result),
|
||||
SourceRootEntity.Builder {
|
||||
internal constructor() : this(SourceRootEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
|
||||
+9
-10
@@ -5,7 +5,6 @@ package com.intellij.platform.workspace.jps.entities.impl
|
||||
|
||||
import com.intellij.platform.workspace.jps.entities.ContentRootEntity
|
||||
import com.intellij.platform.workspace.jps.entities.SourceRootOrderEntity
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
@@ -35,13 +34,12 @@ import org.jetbrains.annotations.NonNls
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class SourceRootOrderEntityImpl(private val dataSource: SourceRootOrderEntityData) : SourceRootOrderEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class SourceRootOrderEntityImpl(private val dataSource: SourceRootOrderEntityData) : SourceRootOrderEntity,
|
||||
WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
internal val CONTENTROOTENTITY_CONNECTION_ID: ConnectionId = ConnectionId.create(ContentRootEntity::class.java,
|
||||
SourceRootOrderEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_ONE, false)
|
||||
internal val CONTENTROOTENTITY_CONNECTION_ID: ConnectionId =
|
||||
ConnectionId.create(ContentRootEntity::class.java, SourceRootOrderEntity::class.java, ConnectionId.ConnectionType.ONE_TO_ONE, false)
|
||||
|
||||
private val connections = listOf<ConnectionId>(
|
||||
CONTENTROOTENTITY_CONNECTION_ID,
|
||||
@@ -69,8 +67,8 @@ internal class SourceRootOrderEntityImpl(private val dataSource: SourceRootOrder
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: SourceRootOrderEntityData?) : ModifiableWorkspaceEntityBase<SourceRootOrderEntity, SourceRootOrderEntityData>(
|
||||
result), SourceRootOrderEntity.Builder {
|
||||
internal class Builder(result: SourceRootOrderEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<SourceRootOrderEntity, SourceRootOrderEntityData>(result), SourceRootOrderEntity.Builder {
|
||||
internal constructor() : this(SourceRootOrderEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -174,8 +172,9 @@ internal class SourceRootOrderEntityImpl(private val dataSource: SourceRootOrder
|
||||
val _diff = diff
|
||||
return if (_diff != null) {
|
||||
@OptIn(EntityStorageInstrumentationApi::class)
|
||||
((_diff as MutableEntityStorageInstrumentation).getParentBuilder(CONTENTROOTENTITY_CONNECTION_ID,
|
||||
this) as? ContentRootEntity.Builder)
|
||||
((_diff as MutableEntityStorageInstrumentation).getParentBuilder(
|
||||
CONTENTROOTENTITY_CONNECTION_ID, this
|
||||
) as? ContentRootEntity.Builder)
|
||||
?: (this.entityLinks[EntityLink(false, CONTENTROOTENTITY_CONNECTION_ID)]!! as ContentRootEntity.Builder)
|
||||
}
|
||||
else {
|
||||
|
||||
+8
-7
@@ -36,12 +36,12 @@ import org.jetbrains.annotations.NonNls
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class TestModulePropertiesEntityImpl(private val dataSource: TestModulePropertiesEntityData) : TestModulePropertiesEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class TestModulePropertiesEntityImpl(private val dataSource: TestModulePropertiesEntityData) : TestModulePropertiesEntity,
|
||||
WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
internal val MODULE_CONNECTION_ID: ConnectionId = ConnectionId.create(ModuleEntity::class.java, TestModulePropertiesEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_ONE, false)
|
||||
internal val MODULE_CONNECTION_ID: ConnectionId =
|
||||
ConnectionId.create(ModuleEntity::class.java, TestModulePropertiesEntity::class.java, ConnectionId.ConnectionType.ONE_TO_ONE, false)
|
||||
|
||||
private val connections = listOf<ConnectionId>(
|
||||
MODULE_CONNECTION_ID,
|
||||
@@ -69,8 +69,8 @@ internal class TestModulePropertiesEntityImpl(private val dataSource: TestModule
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: TestModulePropertiesEntityData?) : ModifiableWorkspaceEntityBase<TestModulePropertiesEntity, TestModulePropertiesEntityData>(
|
||||
result), TestModulePropertiesEntity.Builder {
|
||||
internal class Builder(result: TestModulePropertiesEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<TestModulePropertiesEntity, TestModulePropertiesEntityData>(result), TestModulePropertiesEntity.Builder {
|
||||
internal constructor() : this(TestModulePropertiesEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -250,7 +250,8 @@ internal class TestModulePropertiesEntityData : WorkspaceEntityData<TestModulePr
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.platform.workspace.jps.entities.TestModulePropertiesEntity") as EntityMetadata
|
||||
"com.intellij.platform.workspace.jps.entities.TestModulePropertiesEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun getEntityInterface(): Class<out WorkspaceEntity> {
|
||||
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.platform.workspace.jps.impl
|
||||
|
||||
import com.intellij.java.workspace.entities.impl.MetadataStorageImpl
|
||||
|
||||
@@ -187,7 +187,8 @@ interface DirectoryPackagingElementEntity: CompositePackagingElementEntity {
|
||||
|
||||
//region generated code
|
||||
@GeneratedCodeApiVersion(3)
|
||||
interface Builder : WorkspaceEntity.Builder<DirectoryPackagingElementEntity>, CompositePackagingElementEntity.Builder<DirectoryPackagingElementEntity> {
|
||||
interface Builder : WorkspaceEntity.Builder<DirectoryPackagingElementEntity>,
|
||||
CompositePackagingElementEntity.Builder<DirectoryPackagingElementEntity> {
|
||||
override var entitySource: EntitySource
|
||||
override var parentEntity: CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>?
|
||||
override var artifact: ArtifactEntity.Builder?
|
||||
@@ -229,7 +230,8 @@ interface ArchivePackagingElementEntity: CompositePackagingElementEntity {
|
||||
|
||||
//region generated code
|
||||
@GeneratedCodeApiVersion(3)
|
||||
interface Builder : WorkspaceEntity.Builder<ArchivePackagingElementEntity>, CompositePackagingElementEntity.Builder<ArchivePackagingElementEntity> {
|
||||
interface Builder : WorkspaceEntity.Builder<ArchivePackagingElementEntity>,
|
||||
CompositePackagingElementEntity.Builder<ArchivePackagingElementEntity> {
|
||||
override var entitySource: EntitySource
|
||||
override var parentEntity: CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>?
|
||||
override var artifact: ArtifactEntity.Builder?
|
||||
@@ -269,7 +271,8 @@ fun MutableEntityStorage.modifyArchivePackagingElementEntity(
|
||||
interface ArtifactRootElementEntity: CompositePackagingElementEntity {
|
||||
//region generated code
|
||||
@GeneratedCodeApiVersion(3)
|
||||
interface Builder : WorkspaceEntity.Builder<ArtifactRootElementEntity>, CompositePackagingElementEntity.Builder<ArtifactRootElementEntity> {
|
||||
interface Builder : WorkspaceEntity.Builder<ArtifactRootElementEntity>,
|
||||
CompositePackagingElementEntity.Builder<ArtifactRootElementEntity> {
|
||||
override var entitySource: EntitySource
|
||||
override var parentEntity: CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>?
|
||||
override var artifact: ArtifactEntity.Builder?
|
||||
@@ -308,7 +311,8 @@ interface ArtifactOutputPackagingElementEntity: PackagingElementEntity {
|
||||
|
||||
//region generated code
|
||||
@GeneratedCodeApiVersion(3)
|
||||
interface Builder : WorkspaceEntity.Builder<ArtifactOutputPackagingElementEntity>, PackagingElementEntity.Builder<ArtifactOutputPackagingElementEntity> {
|
||||
interface Builder : WorkspaceEntity.Builder<ArtifactOutputPackagingElementEntity>,
|
||||
PackagingElementEntity.Builder<ArtifactOutputPackagingElementEntity> {
|
||||
override var entitySource: EntitySource
|
||||
override var parentEntity: CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>?
|
||||
var artifact: ArtifactId?
|
||||
@@ -352,7 +356,8 @@ interface ModuleOutputPackagingElementEntity : PackagingElementEntity {
|
||||
|
||||
//region generated code
|
||||
@GeneratedCodeApiVersion(3)
|
||||
interface Builder : WorkspaceEntity.Builder<ModuleOutputPackagingElementEntity>, PackagingElementEntity.Builder<ModuleOutputPackagingElementEntity> {
|
||||
interface Builder : WorkspaceEntity.Builder<ModuleOutputPackagingElementEntity>,
|
||||
PackagingElementEntity.Builder<ModuleOutputPackagingElementEntity> {
|
||||
override var entitySource: EntitySource
|
||||
override var parentEntity: CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>?
|
||||
var module: ModuleId?
|
||||
@@ -390,7 +395,8 @@ interface LibraryFilesPackagingElementEntity : PackagingElementEntity {
|
||||
|
||||
//region generated code
|
||||
@GeneratedCodeApiVersion(3)
|
||||
interface Builder : WorkspaceEntity.Builder<LibraryFilesPackagingElementEntity>, PackagingElementEntity.Builder<LibraryFilesPackagingElementEntity> {
|
||||
interface Builder : WorkspaceEntity.Builder<LibraryFilesPackagingElementEntity>,
|
||||
PackagingElementEntity.Builder<LibraryFilesPackagingElementEntity> {
|
||||
override var entitySource: EntitySource
|
||||
override var parentEntity: CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>?
|
||||
var library: LibraryId?
|
||||
@@ -428,7 +434,8 @@ interface ModuleSourcePackagingElementEntity : PackagingElementEntity {
|
||||
|
||||
//region generated code
|
||||
@GeneratedCodeApiVersion(3)
|
||||
interface Builder : WorkspaceEntity.Builder<ModuleSourcePackagingElementEntity>, PackagingElementEntity.Builder<ModuleSourcePackagingElementEntity> {
|
||||
interface Builder : WorkspaceEntity.Builder<ModuleSourcePackagingElementEntity>,
|
||||
PackagingElementEntity.Builder<ModuleSourcePackagingElementEntity> {
|
||||
override var entitySource: EntitySource
|
||||
override var parentEntity: CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>?
|
||||
var module: ModuleId?
|
||||
@@ -466,7 +473,8 @@ interface ModuleTestOutputPackagingElementEntity : PackagingElementEntity {
|
||||
|
||||
//region generated code
|
||||
@GeneratedCodeApiVersion(3)
|
||||
interface Builder : WorkspaceEntity.Builder<ModuleTestOutputPackagingElementEntity>, PackagingElementEntity.Builder<ModuleTestOutputPackagingElementEntity> {
|
||||
interface Builder : WorkspaceEntity.Builder<ModuleTestOutputPackagingElementEntity>,
|
||||
PackagingElementEntity.Builder<ModuleTestOutputPackagingElementEntity> {
|
||||
override var entitySource: EntitySource
|
||||
override var parentEntity: CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>?
|
||||
var module: ModuleId?
|
||||
@@ -510,8 +518,8 @@ fun MutableEntityStorage.modifyModuleTestOutputPackagingElementEntity(
|
||||
var filePath: VirtualFileUrl
|
||||
}
|
||||
|
||||
companion object : EntityType<FileOrDirectoryPackagingElementEntity, Builder<FileOrDirectoryPackagingElementEntity>>(
|
||||
PackagingElementEntity) {
|
||||
companion object :
|
||||
EntityType<FileOrDirectoryPackagingElementEntity, Builder<FileOrDirectoryPackagingElementEntity>>(PackagingElementEntity) {
|
||||
@JvmOverloads
|
||||
@JvmStatic
|
||||
@JvmName("create")
|
||||
@@ -534,7 +542,8 @@ fun MutableEntityStorage.modifyModuleTestOutputPackagingElementEntity(
|
||||
interface DirectoryCopyPackagingElementEntity : FileOrDirectoryPackagingElementEntity {
|
||||
//region generated code
|
||||
@GeneratedCodeApiVersion(3)
|
||||
interface Builder : WorkspaceEntity.Builder<DirectoryCopyPackagingElementEntity>, FileOrDirectoryPackagingElementEntity.Builder<DirectoryCopyPackagingElementEntity> {
|
||||
interface Builder : WorkspaceEntity.Builder<DirectoryCopyPackagingElementEntity>,
|
||||
FileOrDirectoryPackagingElementEntity.Builder<DirectoryCopyPackagingElementEntity> {
|
||||
override var entitySource: EntitySource
|
||||
override var parentEntity: CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>?
|
||||
override var filePath: VirtualFileUrl
|
||||
@@ -574,7 +583,8 @@ interface ExtractedDirectoryPackagingElementEntity: FileOrDirectoryPackagingElem
|
||||
|
||||
//region generated code
|
||||
@GeneratedCodeApiVersion(3)
|
||||
interface Builder : WorkspaceEntity.Builder<ExtractedDirectoryPackagingElementEntity>, FileOrDirectoryPackagingElementEntity.Builder<ExtractedDirectoryPackagingElementEntity> {
|
||||
interface Builder : WorkspaceEntity.Builder<ExtractedDirectoryPackagingElementEntity>,
|
||||
FileOrDirectoryPackagingElementEntity.Builder<ExtractedDirectoryPackagingElementEntity> {
|
||||
override var entitySource: EntitySource
|
||||
override var parentEntity: CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>?
|
||||
override var filePath: VirtualFileUrl
|
||||
@@ -617,7 +627,8 @@ interface FileCopyPackagingElementEntity : FileOrDirectoryPackagingElementEntity
|
||||
|
||||
//region generated code
|
||||
@GeneratedCodeApiVersion(3)
|
||||
interface Builder : WorkspaceEntity.Builder<FileCopyPackagingElementEntity>, FileOrDirectoryPackagingElementEntity.Builder<FileCopyPackagingElementEntity> {
|
||||
interface Builder : WorkspaceEntity.Builder<FileCopyPackagingElementEntity>,
|
||||
FileOrDirectoryPackagingElementEntity.Builder<FileCopyPackagingElementEntity> {
|
||||
override var entitySource: EntitySource
|
||||
override var parentEntity: CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>?
|
||||
override var filePath: VirtualFileUrl
|
||||
@@ -659,7 +670,8 @@ interface CustomPackagingElementEntity : CompositePackagingElementEntity {
|
||||
|
||||
//region generated code
|
||||
@GeneratedCodeApiVersion(3)
|
||||
interface Builder : WorkspaceEntity.Builder<CustomPackagingElementEntity>, CompositePackagingElementEntity.Builder<CustomPackagingElementEntity> {
|
||||
interface Builder : WorkspaceEntity.Builder<CustomPackagingElementEntity>,
|
||||
CompositePackagingElementEntity.Builder<CustomPackagingElementEntity> {
|
||||
override var entitySource: EntitySource
|
||||
override var parentEntity: CompositePackagingElementEntity.Builder<out CompositePackagingElementEntity>?
|
||||
override var artifact: ArtifactEntity.Builder?
|
||||
|
||||
+2
-3
@@ -11,9 +11,9 @@ import com.intellij.platform.workspace.storage.WorkspaceEntityWithSymbolicId
|
||||
import com.intellij.platform.workspace.storage.annotations.Child
|
||||
import com.intellij.platform.workspace.storage.impl.containers.toMutableWorkspaceList
|
||||
import com.intellij.platform.workspace.storage.url.VirtualFileUrl
|
||||
import java.io.Serializable
|
||||
import org.jetbrains.annotations.ApiStatus.Internal
|
||||
import org.jetbrains.annotations.NonNls
|
||||
import java.io.Serializable
|
||||
|
||||
data class LibraryTypeId(val name: @NonNls String)
|
||||
/**
|
||||
@@ -98,5 +98,4 @@ data class LibraryRoot(
|
||||
enum class InclusionOptions {
|
||||
ROOT_ITSELF, ARCHIVES_UNDER_ROOT, ARCHIVES_UNDER_ROOT_RECURSIVELY
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -30,8 +30,8 @@ interface FacetEntity : ModuleSettingsFacetBridgeEntity {
|
||||
@GeneratedCodeApiVersion(3)
|
||||
interface Builder : WorkspaceEntity.Builder<FacetEntity>, ModuleSettingsFacetBridgeEntity.Builder<FacetEntity> {
|
||||
override var entitySource: EntitySource
|
||||
override var name: String
|
||||
override var moduleId: ModuleId
|
||||
override var name: String
|
||||
var typeId: FacetEntityTypeId
|
||||
var configurationXmlTag: String?
|
||||
var module: ModuleEntity.Builder
|
||||
@@ -43,15 +43,15 @@ interface FacetEntity : ModuleSettingsFacetBridgeEntity {
|
||||
@JvmStatic
|
||||
@JvmName("create")
|
||||
operator fun invoke(
|
||||
name: String,
|
||||
moduleId: ModuleId,
|
||||
name: String,
|
||||
typeId: FacetEntityTypeId,
|
||||
entitySource: EntitySource,
|
||||
init: (Builder.() -> Unit)? = null,
|
||||
): Builder {
|
||||
val builder = builder()
|
||||
builder.name = name
|
||||
builder.moduleId = moduleId
|
||||
builder.name = name
|
||||
builder.typeId = typeId
|
||||
builder.entitySource = entitySource
|
||||
init?.invoke(builder)
|
||||
@@ -75,4 +75,4 @@ var FacetEntity.Builder.childrenFacets: @Child List<FacetEntity.Builder>
|
||||
//endregion
|
||||
|
||||
val FacetEntity.childrenFacets: List<@Child FacetEntity>
|
||||
by WorkspaceEntity.extension()
|
||||
by WorkspaceEntity.extension()
|
||||
@@ -5,11 +5,6 @@ package com.intellij.platform.workspace.jps.entities
|
||||
|
||||
import com.intellij.openapi.util.NlsSafe
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeApiVersion
|
||||
import com.intellij.platform.workspace.storage.MutableEntityStorage
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntity
|
||||
import com.intellij.platform.workspace.storage.annotations.Child
|
||||
import com.intellij.platform.workspace.storage.impl.containers.toMutableWorkspaceList
|
||||
import org.jetbrains.annotations.ApiStatus.Internal
|
||||
|
||||
+5
-5
@@ -3,23 +3,23 @@ package com.intellij.platform.workspace.jps.entities
|
||||
|
||||
import com.intellij.openapi.util.NlsSafe
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeApiVersion
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntity
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntityWithSymbolicId
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
import com.intellij.platform.workspace.storage.annotations.Abstract
|
||||
|
||||
@Abstract
|
||||
interface ModuleSettingsFacetBridgeEntity : WorkspaceEntityWithSymbolicId {
|
||||
val name: @NlsSafe String
|
||||
val moduleId: ModuleId
|
||||
val name: @NlsSafe String
|
||||
|
||||
//region generated code
|
||||
@GeneratedCodeApiVersion(3)
|
||||
interface Builder<T : ModuleSettingsFacetBridgeEntity> : WorkspaceEntity.Builder<T> {
|
||||
override var entitySource: EntitySource
|
||||
var name: String
|
||||
var moduleId: ModuleId
|
||||
var name: String
|
||||
}
|
||||
|
||||
companion object : EntityType<ModuleSettingsFacetBridgeEntity, Builder<ModuleSettingsFacetBridgeEntity>>() {
|
||||
@@ -27,14 +27,14 @@ interface ModuleSettingsFacetBridgeEntity : WorkspaceEntityWithSymbolicId {
|
||||
@JvmStatic
|
||||
@JvmName("create")
|
||||
operator fun invoke(
|
||||
name: String,
|
||||
moduleId: ModuleId,
|
||||
name: String,
|
||||
entitySource: EntitySource,
|
||||
init: (Builder<ModuleSettingsFacetBridgeEntity>.() -> Unit)? = null,
|
||||
): Builder<ModuleSettingsFacetBridgeEntity> {
|
||||
val builder = builder()
|
||||
builder.name = name
|
||||
builder.moduleId = moduleId
|
||||
builder.name = name
|
||||
builder.entitySource = entitySource
|
||||
init?.invoke(builder)
|
||||
return builder
|
||||
|
||||
@@ -3,11 +3,6 @@ package com.intellij.platform.workspace.jps.entities
|
||||
|
||||
import com.intellij.openapi.util.NlsSafe
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeApiVersion
|
||||
import com.intellij.platform.workspace.storage.MutableEntityStorage
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntity
|
||||
import com.intellij.platform.workspace.storage.annotations.Child
|
||||
import com.intellij.platform.workspace.storage.impl.containers.toMutableWorkspaceList
|
||||
import com.intellij.platform.workspace.storage.url.VirtualFileUrl
|
||||
|
||||
@@ -2,15 +2,10 @@
|
||||
package com.intellij.platform.workspace.jps.entities
|
||||
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeApiVersion
|
||||
import com.intellij.platform.workspace.storage.MutableEntityStorage
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntity
|
||||
import com.intellij.platform.workspace.storage.impl.containers.toMutableWorkspaceList
|
||||
import com.intellij.platform.workspace.storage.url.VirtualFileUrl
|
||||
import org.jetbrains.annotations.NonNls
|
||||
import java.io.Serializable
|
||||
import org.jetbrains.annotations.NonNls
|
||||
|
||||
interface SdkEntity : WorkspaceEntityWithSymbolicId {
|
||||
override val symbolicId: SdkId
|
||||
|
||||
+1
-1
@@ -57,7 +57,7 @@ class DefaultFacetEntitySerializer: CustomFacetRelatedEntitySerializer<FacetEnti
|
||||
}
|
||||
|
||||
if (existingFacet == null) {
|
||||
facetEntity = FacetEntity(facetState.name, ModuleId(moduleEntity.name), facetEntityTypeId, entitySource) {
|
||||
facetEntity = FacetEntity.invoke(ModuleId(moduleEntity.name), facetState.name, facetEntityTypeId, entitySource) {
|
||||
this.configurationXmlTag = configurationXmlTag
|
||||
this.module = moduleEntity
|
||||
this.underlyingFacet = underlyingFacet
|
||||
|
||||
+1
@@ -22,6 +22,7 @@ internal fun <T, K> sortByOrderEntity(orderOfItems: List<K>?, elementsByKey: Mut
|
||||
|
||||
//todo reuse toPath from VirtualFileUrlManagerUtil.kt
|
||||
fun VirtualFileUrl.toPath(): Path = Path.of(JpsPathUtil.urlToPath(url))
|
||||
|
||||
internal fun toConfigLocation(file: Path, virtualFileManager: VirtualFileUrlManager): JpsProjectConfigLocation {
|
||||
if (FileUtil.extensionEquals(file.fileName.toString(), "ipr")) {
|
||||
val iprFile = file.toVirtualFileUrl(virtualFileManager)
|
||||
|
||||
+3
-4
@@ -1,4 +1,3 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.workspaceModel.ide.impl
|
||||
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntityInternalApi
|
||||
@@ -11,11 +10,11 @@ import com.intellij.platform.workspace.storage.metadata.model.ValueTypeMetadata
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal object MetadataStorageImpl: MetadataStorageBase() {
|
||||
override fun initializeMetadata() {
|
||||
|
||||
|
||||
var typeMetadata: StorageTypeMetadata
|
||||
|
||||
|
||||
typeMetadata = FinalClassMetadata.ObjectMetadata(fqName = "com.intellij.workspaceModel.ide.Source", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "virtualFileUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = true, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.EntitySource"))
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
}
|
||||
|
||||
|
||||
+5
-5
@@ -101,7 +101,7 @@ class FacetModelBridgeTest {
|
||||
|
||||
builder addEntity ModuleEntity(name = "test", dependencies = emptyList(), entitySource = source) {
|
||||
this.facets = listOf(
|
||||
FacetEntity("MyFacet", ModuleId("test"), MOCK_FACET_TYPE_ID, source) {
|
||||
FacetEntity.invoke(ModuleId("test"), "MyFacet", MOCK_FACET_TYPE_ID, source) {
|
||||
configurationXmlTag = """<configuration data="foo" />"""
|
||||
}
|
||||
)
|
||||
@@ -133,7 +133,7 @@ class FacetModelBridgeTest {
|
||||
|
||||
val moduleEntity = ModuleEntity(name = "test", dependencies = emptyList(), entitySource = source)
|
||||
|
||||
builder addEntity FacetEntity("AnotherMockFacet", ModuleId("test"), FacetEntityTypeId("AnotherMockFacetId"), source) {
|
||||
builder addEntity FacetEntity.invoke(ModuleId("test"), "AnotherMockFacet", FacetEntityTypeId("AnotherMockFacetId"), source) {
|
||||
configurationXmlTag = """
|
||||
<AnotherFacetConfigProperties>
|
||||
<firstElement>
|
||||
@@ -202,9 +202,9 @@ class FacetModelBridgeTest {
|
||||
WorkspaceModel.getInstance(projectModel.project).updateProjectModel { builder ->
|
||||
val moduleEntity = builder.entities<ModuleEntity>().first()
|
||||
builder.modifyModuleEntity(moduleEntity) module@{
|
||||
builder addEntity FacetEntity("myName", moduleEntity.symbolicId, MOCK_FACET_TYPE_ID, moduleEntity.entitySource) {
|
||||
builder addEntity FacetEntity.invoke(moduleEntity.symbolicId, "myName", MOCK_FACET_TYPE_ID, moduleEntity.entitySource) {
|
||||
this.module = this@module
|
||||
underlyingFacet = FacetEntity("anotherName", moduleEntity.symbolicId, MOCK_FACET_TYPE_ID, moduleEntity.entitySource) {
|
||||
underlyingFacet = FacetEntity.invoke(moduleEntity.symbolicId, "anotherName", MOCK_FACET_TYPE_ID, moduleEntity.entitySource) {
|
||||
this.module = this@module
|
||||
}
|
||||
}
|
||||
@@ -215,4 +215,4 @@ class FacetModelBridgeTest {
|
||||
FacetManager.getInstance(module).findFacet(MockFacetType.ID, "anotherName")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+2
-2
@@ -60,7 +60,7 @@ class FacetWorkspaceModelTest {
|
||||
projectModel.project.workspaceModel.updateProjectModel { builder ->
|
||||
val moduleEntity = builder.entities(ModuleEntity::class.java).first()
|
||||
builder.modifyModuleEntity(moduleEntity) {
|
||||
this.facets += FacetEntity("myName", moduleEntity.symbolicId, MOCK_FACET_TYPE_ID, moduleEntity.entitySource)
|
||||
this.facets += FacetEntity.invoke(moduleEntity.symbolicId, "myName", MOCK_FACET_TYPE_ID, moduleEntity.entitySource)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -89,7 +89,7 @@ class FacetWorkspaceModelTest {
|
||||
val moduleEntity = builder.entities(ModuleEntity::class.java).first()
|
||||
Assert.assertTrue(moduleEntity.facets.isEmpty())
|
||||
builder.modifyModuleEntity(moduleEntity) {
|
||||
this.facets = listOf(FacetEntity("myName", moduleEntity.symbolicId, MOCK_FACET_TYPE_ID, moduleEntity.entitySource))
|
||||
this.facets = listOf(FacetEntity.invoke(moduleEntity.symbolicId, "myName", MOCK_FACET_TYPE_ID, moduleEntity.entitySource))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -574,7 +574,7 @@ class JpsSplitModuleAndContentRootTest {
|
||||
registerFacetType(mockFacetType, projectModel.disposableRule.disposable)
|
||||
val moduleEntity = builder.entities(ModuleEntity::class.java).single()
|
||||
builder.modifyModuleEntity( moduleEntity) {
|
||||
this.facets += FacetEntity("MyFacet", moduleEntity.symbolicId, FacetEntityTypeId(MockFacetType.ID.toString()),
|
||||
this.facets += FacetEntity(moduleEntity.symbolicId, "MyFacet", FacetEntityTypeId(MockFacetType.ID.toString()),
|
||||
getInternalFileSource(moduleEntity.entitySource)!!)
|
||||
}
|
||||
}
|
||||
|
||||
+7
-64
@@ -1,10 +1,8 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.platform.workspace.storage.impl
|
||||
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntityInternalApi
|
||||
import com.intellij.platform.workspace.storage.metadata.impl.MetadataStorageBase
|
||||
import com.intellij.platform.workspace.storage.metadata.model.EntityMetadata
|
||||
import com.intellij.platform.workspace.storage.metadata.model.ExtendableClassMetadata
|
||||
import com.intellij.platform.workspace.storage.metadata.model.FinalClassMetadata
|
||||
import com.intellij.platform.workspace.storage.metadata.model.OwnPropertyMetadata
|
||||
import com.intellij.platform.workspace.storage.metadata.model.StorageTypeMetadata
|
||||
@@ -13,79 +11,24 @@ import com.intellij.platform.workspace.storage.metadata.model.ValueTypeMetadata
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal object MetadataStorageImpl: MetadataStorageBase() {
|
||||
override fun initializeMetadata() {
|
||||
val primitiveTypeIntNotNullable = ValueTypeMetadata.SimpleType.PrimitiveType(isNullable = false, type = "Int")
|
||||
val primitiveTypeStringNotNullable = ValueTypeMetadata.SimpleType.PrimitiveType(isNullable = false, type = "String")
|
||||
|
||||
|
||||
var typeMetadata: StorageTypeMetadata
|
||||
|
||||
typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.intellij.java.configurationStore.SampleDummyParentCustomModuleEntitySource", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "internalSource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = ExtendableClassMetadata.AbstractClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsFileEntitySource", subclasses = listOf(FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectFileEntitySource\$FileInDirectory", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "fileNameId", valueType = primitiveTypeIntNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "virtualFileUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "directory", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectLocation", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation")), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.JpsProjectFileEntitySource",
|
||||
"com.intellij.platform.workspace.jps.JpsFileEntitySource",
|
||||
"com.intellij.platform.workspace.storage.EntitySource")),
|
||||
FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsGlobalFileEntitySource", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "file", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "virtualFileUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = true, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.JpsFileEntitySource",
|
||||
"com.intellij.platform.workspace.storage.EntitySource")),
|
||||
FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectFileEntitySource\$ExactFile", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "virtualFileUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "file", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectLocation", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = ExtendableClassMetadata.AbstractClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation", subclasses = listOf(FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation\$DirectoryBased", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "baseDirectoryUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectFilePath", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectDir", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "ideaFolder", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "baseDirectoryUrlString", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.JpsProjectConfigLocation")),
|
||||
FinalClassMetadata.ClassMetadata(fqName = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation\$FileBased", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "baseDirectoryUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "projectFilePath", valueType = primitiveTypeStringNotNullable, withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "iprFile", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "iprFileParent", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "baseDirectoryUrlString", valueType = primitiveTypeStringNotNullable, withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.JpsProjectConfigLocation"))), supertypes = listOf())), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.JpsProjectFileEntitySource",
|
||||
"com.intellij.platform.workspace.jps.JpsFileEntitySource",
|
||||
"com.intellij.platform.workspace.storage.EntitySource"))), supertypes = listOf("com.intellij.platform.workspace.storage.EntitySource"))), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "virtualFileUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = true, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.jps.CustomModuleEntitySource",
|
||||
"com.intellij.platform.workspace.storage.DummyParentEntitySource",
|
||||
"com.intellij.platform.workspace.storage.EntitySource"))
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
typeMetadata = FinalClassMetadata.ObjectMetadata(fqName = "com.intellij.platform.workspace.storage.testEntities.entities.MyDummyParentSource", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "virtualFileUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = true, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false)), supertypes = listOf("com.intellij.platform.workspace.storage.DummyParentEntitySource",
|
||||
"com.intellij.platform.workspace.storage.EntitySource"))
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
typeMetadata = FinalClassMetadata.ClassMetadata(fqName = "com.jetbrains.cidr.workspaceModelBridge.OCEntityDummyModuleSource", properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "internalSource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.jps.JpsFileEntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "virtualFileUrl", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = true, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.url.VirtualFileUrl")), withDefault = false)), supertypes = listOf("com.jetbrains.cidr.workspaceModelBridge.OCEntitySource",
|
||||
"com.intellij.platform.workspace.storage.DummyParentEntitySource",
|
||||
"com.intellij.platform.workspace.jps.CustomModuleEntitySource",
|
||||
"com.intellij.platform.workspace.storage.EntitySource"))
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.platform.workspace.storage.WorkspaceEntity", entityDataFqName = "com.intellij.platform.workspace.storage.impl.WorkspaceEntityData", supertypes = listOf(), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false)), extProperties = listOf(), isAbstract = true)
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
|
||||
|
||||
typeMetadata = EntityMetadata(fqName = "com.intellij.platform.workspace.storage.WorkspaceEntityWithSymbolicId", entityDataFqName = "com.intellij.platform.workspace.storage.impl.WorkspaceEntityWithSymbolicIdData", supertypes = listOf("com.intellij.platform.workspace.storage.WorkspaceEntity"), properties = listOf(OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "entitySource", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.EntitySource")), withDefault = false),
|
||||
OwnPropertyMetadata(isComputable = false, isKey = false, isOpen = false, name = "symbolicId", valueType = ValueTypeMetadata.SimpleType.CustomType(isNullable = false, typeMetadata = FinalClassMetadata.KnownClass(fqName = "com.intellij.platform.workspace.storage.SymbolicEntityId")), withDefault = false)), extProperties = listOf(), isAbstract = true)
|
||||
|
||||
|
||||
addMetadata(typeMetadata)
|
||||
}
|
||||
|
||||
override fun initializeMetadataHash() {
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.storage.WorkspaceEntity", metadataHash = 1885263617)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.storage.WorkspaceEntityWithSymbolicId", metadataHash = -272153521)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.storage.EntitySource", metadataHash = 310149856)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.storage.DummyParentEntitySource", metadataHash = -1374988455)
|
||||
addMetadataHash(typeFqn = "com.intellij.java.configurationStore.SampleDummyParentCustomModuleEntitySource", metadataHash = -1785529430)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.JpsFileEntitySource", metadataHash = -1709137196)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.JpsGlobalFileEntitySource", metadataHash = -1063074881)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.JpsProjectFileEntitySource", metadataHash = -182040200)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.JpsProjectFileEntitySource\$ExactFile", metadataHash = 1636464627)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation", metadataHash = 153096835)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation\$DirectoryBased", metadataHash = -1619672141)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.JpsProjectConfigLocation\$FileBased", metadataHash = 656180261)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.jps.JpsProjectFileEntitySource\$FileInDirectory", metadataHash = -292490736)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.storage.testEntities.entities.MyDummyParentSource", metadataHash = -1458866609)
|
||||
addMetadataHash(typeFqn = "com.jetbrains.cidr.workspaceModelBridge.OCEntityDummyModuleSource", metadataHash = 1532878769)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.storage.EntitySource", metadataHash = 1637225356)
|
||||
addMetadataHash(typeFqn = "com.intellij.platform.workspace.storage.DummyParentEntitySource", metadataHash = 1210649349)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
+9
-9
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.impl
|
||||
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
@@ -28,13 +27,13 @@ import com.intellij.platform.workspace.storage.testEntities.entities.cacheVersio
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class AnotherOneToManyRefEntityImpl(private val dataSource: AnotherOneToManyRefEntityData) : AnotherOneToManyRefEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class AnotherOneToManyRefEntityImpl(private val dataSource: AnotherOneToManyRefEntityData) : AnotherOneToManyRefEntity,
|
||||
WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
internal val PARENTENTITY_CONNECTION_ID: ConnectionId = ConnectionId.create(OneToManyRefEntity::class.java,
|
||||
AnotherOneToManyRefEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_MANY, false)
|
||||
internal val PARENTENTITY_CONNECTION_ID: ConnectionId = ConnectionId.create(
|
||||
OneToManyRefEntity::class.java, AnotherOneToManyRefEntity::class.java, ConnectionId.ConnectionType.ONE_TO_MANY, false
|
||||
)
|
||||
|
||||
private val connections = listOf<ConnectionId>(
|
||||
PARENTENTITY_CONNECTION_ID,
|
||||
@@ -67,8 +66,8 @@ internal class AnotherOneToManyRefEntityImpl(private val dataSource: AnotherOneT
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: AnotherOneToManyRefEntityData?) : ModifiableWorkspaceEntityBase<AnotherOneToManyRefEntity, AnotherOneToManyRefEntityData>(
|
||||
result), AnotherOneToManyRefEntity.Builder {
|
||||
internal class Builder(result: AnotherOneToManyRefEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<AnotherOneToManyRefEntity, AnotherOneToManyRefEntityData>(result), AnotherOneToManyRefEntity.Builder {
|
||||
internal constructor() : this(AnotherOneToManyRefEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -226,7 +225,8 @@ internal class AnotherOneToManyRefEntityData : WorkspaceEntityData<AnotherOneToM
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.AnotherOneToManyRefEntity") as EntityMetadata
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.AnotherOneToManyRefEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun getEntityInterface(): Class<out WorkspaceEntity> {
|
||||
|
||||
+9
-9
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.impl
|
||||
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
@@ -27,13 +26,13 @@ import com.intellij.platform.workspace.storage.testEntities.entities.cacheVersio
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class AnotherOneToOneRefEntityImpl(private val dataSource: AnotherOneToOneRefEntityData) : AnotherOneToOneRefEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class AnotherOneToOneRefEntityImpl(private val dataSource: AnotherOneToOneRefEntityData) : AnotherOneToOneRefEntity,
|
||||
WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
internal val PARENTENTITY_CONNECTION_ID: ConnectionId = ConnectionId.create(OneToOneRefEntity::class.java,
|
||||
AnotherOneToOneRefEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_ONE, false)
|
||||
internal val PARENTENTITY_CONNECTION_ID: ConnectionId = ConnectionId.create(
|
||||
OneToOneRefEntity::class.java, AnotherOneToOneRefEntity::class.java, ConnectionId.ConnectionType.ONE_TO_ONE, false
|
||||
)
|
||||
|
||||
private val connections = listOf<ConnectionId>(
|
||||
PARENTENTITY_CONNECTION_ID,
|
||||
@@ -66,8 +65,8 @@ internal class AnotherOneToOneRefEntityImpl(private val dataSource: AnotherOneTo
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: AnotherOneToOneRefEntityData?) : ModifiableWorkspaceEntityBase<AnotherOneToOneRefEntity, AnotherOneToOneRefEntityData>(
|
||||
result), AnotherOneToOneRefEntity.Builder {
|
||||
internal class Builder(result: AnotherOneToOneRefEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<AnotherOneToOneRefEntity, AnotherOneToOneRefEntityData>(result), AnotherOneToOneRefEntity.Builder {
|
||||
internal constructor() : this(AnotherOneToOneRefEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -220,7 +219,8 @@ internal class AnotherOneToOneRefEntityData : WorkspaceEntityData<AnotherOneToOn
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.AnotherOneToOneRefEntity") as EntityMetadata
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.AnotherOneToOneRefEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun getEntityInterface(): Class<out WorkspaceEntity> {
|
||||
|
||||
+7
-13
@@ -2,14 +2,6 @@
|
||||
package com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.impl
|
||||
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeApiVersion
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeImplVersion
|
||||
import com.intellij.platform.workspace.storage.MutableEntityStorage
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntity
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntityInternalApi
|
||||
import com.intellij.platform.workspace.storage.impl.ModifiableWorkspaceEntityBase
|
||||
import com.intellij.platform.workspace.storage.impl.WorkspaceEntityBase
|
||||
import com.intellij.platform.workspace.storage.impl.WorkspaceEntityData
|
||||
@@ -22,8 +14,8 @@ import com.intellij.platform.workspace.storage.testEntities.entities.cacheVersio
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class ChangedComputablePropEntityImpl(private val dataSource: ChangedComputablePropEntityData) : ChangedComputablePropEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class ChangedComputablePropEntityImpl(private val dataSource: ChangedComputablePropEntityData) : ChangedComputablePropEntity,
|
||||
WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
|
||||
@@ -52,8 +44,9 @@ internal class ChangedComputablePropEntityImpl(private val dataSource: ChangedCo
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: ChangedComputablePropEntityData?) : ModifiableWorkspaceEntityBase<ChangedComputablePropEntity, ChangedComputablePropEntityData>(
|
||||
result), ChangedComputablePropEntity.Builder {
|
||||
internal class Builder(result: ChangedComputablePropEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<ChangedComputablePropEntity, ChangedComputablePropEntityData>(result),
|
||||
ChangedComputablePropEntity.Builder {
|
||||
internal constructor() : this(ChangedComputablePropEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -149,7 +142,8 @@ internal class ChangedComputablePropEntityData : WorkspaceEntityData<ChangedComp
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.ChangedComputablePropEntity") as EntityMetadata
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.ChangedComputablePropEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun getEntityInterface(): Class<out WorkspaceEntity> {
|
||||
|
||||
+7
-13
@@ -2,14 +2,6 @@
|
||||
package com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.impl
|
||||
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeApiVersion
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeImplVersion
|
||||
import com.intellij.platform.workspace.storage.MutableEntityStorage
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntity
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntityInternalApi
|
||||
import com.intellij.platform.workspace.storage.impl.ModifiableWorkspaceEntityBase
|
||||
import com.intellij.platform.workspace.storage.impl.WorkspaceEntityBase
|
||||
import com.intellij.platform.workspace.storage.impl.WorkspaceEntityData
|
||||
@@ -24,8 +16,8 @@ import com.intellij.platform.workspace.storage.testEntities.entities.cacheVersio
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class ChangedComputablePropsOrderEntityImpl(private val dataSource: ChangedComputablePropsOrderEntityData) : ChangedComputablePropsOrderEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class ChangedComputablePropsOrderEntityImpl(private val dataSource: ChangedComputablePropsOrderEntityData) :
|
||||
ChangedComputablePropsOrderEntity, WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
|
||||
@@ -65,8 +57,9 @@ internal class ChangedComputablePropsOrderEntityImpl(private val dataSource: Cha
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: ChangedComputablePropsOrderEntityData?) : ModifiableWorkspaceEntityBase<ChangedComputablePropsOrderEntity, ChangedComputablePropsOrderEntityData>(
|
||||
result), ChangedComputablePropsOrderEntity.Builder {
|
||||
internal class Builder(result: ChangedComputablePropsOrderEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<ChangedComputablePropsOrderEntity, ChangedComputablePropsOrderEntityData>(result),
|
||||
ChangedComputablePropsOrderEntity.Builder {
|
||||
internal constructor() : this(ChangedComputablePropsOrderEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -205,7 +198,8 @@ internal class ChangedComputablePropsOrderEntityData : WorkspaceEntityData<Chang
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.ChangedComputablePropsOrderEntity") as EntityMetadata
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.ChangedComputablePropsOrderEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun clone(): ChangedComputablePropsOrderEntityData {
|
||||
|
||||
+6
-6
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.impl
|
||||
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
@@ -22,8 +21,8 @@ import com.intellij.platform.workspace.storage.testEntities.entities.cacheVersio
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class ChangedEnumNameEntityImpl(private val dataSource: ChangedEnumNameEntityData) : ChangedEnumNameEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class ChangedEnumNameEntityImpl(private val dataSource: ChangedEnumNameEntityData) : ChangedEnumNameEntity,
|
||||
WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
|
||||
@@ -50,8 +49,8 @@ internal class ChangedEnumNameEntityImpl(private val dataSource: ChangedEnumName
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: ChangedEnumNameEntityData?) : ModifiableWorkspaceEntityBase<ChangedEnumNameEntity, ChangedEnumNameEntityData>(
|
||||
result), ChangedEnumNameEntity.Builder {
|
||||
internal class Builder(result: ChangedEnumNameEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<ChangedEnumNameEntity, ChangedEnumNameEntityData>(result), ChangedEnumNameEntity.Builder {
|
||||
internal constructor() : this(ChangedEnumNameEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -148,7 +147,8 @@ internal class ChangedEnumNameEntityData : WorkspaceEntityData<ChangedEnumNameEn
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.ChangedEnumNameEntity") as EntityMetadata
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.ChangedEnumNameEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun getEntityInterface(): Class<out WorkspaceEntity> {
|
||||
|
||||
+6
-6
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.impl
|
||||
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
@@ -24,8 +23,8 @@ import com.intellij.platform.workspace.storage.testEntities.entities.cacheVersio
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class ChangedPropsOrderEntityImpl(private val dataSource: ChangedPropsOrderEntityData) : ChangedPropsOrderEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class ChangedPropsOrderEntityImpl(private val dataSource: ChangedPropsOrderEntityData) : ChangedPropsOrderEntity,
|
||||
WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
|
||||
@@ -69,8 +68,8 @@ internal class ChangedPropsOrderEntityImpl(private val dataSource: ChangedPropsO
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: ChangedPropsOrderEntityData?) : ModifiableWorkspaceEntityBase<ChangedPropsOrderEntity, ChangedPropsOrderEntityData>(
|
||||
result), ChangedPropsOrderEntity.Builder {
|
||||
internal class Builder(result: ChangedPropsOrderEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<ChangedPropsOrderEntity, ChangedPropsOrderEntityData>(result), ChangedPropsOrderEntity.Builder {
|
||||
internal constructor() : this(ChangedPropsOrderEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -227,7 +226,8 @@ internal class ChangedPropsOrderEntityData : WorkspaceEntityData<ChangedPropsOrd
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.ChangedPropsOrderEntity") as EntityMetadata
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.ChangedPropsOrderEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun clone(): ChangedPropsOrderEntityData {
|
||||
|
||||
+6
-6
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.impl
|
||||
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
@@ -23,8 +22,8 @@ import com.intellij.platform.workspace.storage.testEntities.entities.cacheVersio
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class ChangedValueTypeEntityImpl(private val dataSource: ChangedValueTypeEntityData) : ChangedValueTypeEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class ChangedValueTypeEntityImpl(private val dataSource: ChangedValueTypeEntityData) : ChangedValueTypeEntity,
|
||||
WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
|
||||
@@ -62,8 +61,8 @@ internal class ChangedValueTypeEntityImpl(private val dataSource: ChangedValueTy
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: ChangedValueTypeEntityData?) : ModifiableWorkspaceEntityBase<ChangedValueTypeEntity, ChangedValueTypeEntityData>(
|
||||
result), ChangedValueTypeEntity.Builder {
|
||||
internal class Builder(result: ChangedValueTypeEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<ChangedValueTypeEntity, ChangedValueTypeEntityData>(result), ChangedValueTypeEntity.Builder {
|
||||
internal constructor() : this(ChangedValueTypeEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -205,7 +204,8 @@ internal class ChangedValueTypeEntityData : WorkspaceEntityData<ChangedValueType
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.ChangedValueTypeEntity") as EntityMetadata
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.ChangedValueTypeEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun clone(): ChangedValueTypeEntityData {
|
||||
|
||||
+6
-6
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.impl
|
||||
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
@@ -23,8 +22,8 @@ import com.intellij.platform.workspace.storage.testEntities.entities.cacheVersio
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class ComputablePropEntityImpl(private val dataSource: ComputablePropEntityData) : ComputablePropEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class ComputablePropEntityImpl(private val dataSource: ComputablePropEntityData) : ComputablePropEntity,
|
||||
WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
|
||||
@@ -57,8 +56,8 @@ internal class ComputablePropEntityImpl(private val dataSource: ComputablePropEn
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: ComputablePropEntityData?) : ModifiableWorkspaceEntityBase<ComputablePropEntity, ComputablePropEntityData>(
|
||||
result), ComputablePropEntity.Builder {
|
||||
internal class Builder(result: ComputablePropEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<ComputablePropEntity, ComputablePropEntityData>(result), ComputablePropEntity.Builder {
|
||||
internal constructor() : this(ComputablePropEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -186,7 +185,8 @@ internal class ComputablePropEntityData : WorkspaceEntityData<ComputablePropEnti
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.ComputablePropEntity") as EntityMetadata
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.ComputablePropEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun clone(): ComputablePropEntityData {
|
||||
|
||||
+4
-4
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.impl
|
||||
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
@@ -59,8 +58,8 @@ internal class DefaultPropEntityImpl(private val dataSource: DefaultPropEntityDa
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: DefaultPropEntityData?) : ModifiableWorkspaceEntityBase<DefaultPropEntity, DefaultPropEntityData>(
|
||||
result), DefaultPropEntity.Builder {
|
||||
internal class Builder(result: DefaultPropEntityData?) : ModifiableWorkspaceEntityBase<DefaultPropEntity, DefaultPropEntityData>(result),
|
||||
DefaultPropEntity.Builder {
|
||||
internal constructor() : this(DefaultPropEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -201,7 +200,8 @@ internal class DefaultPropEntityData : WorkspaceEntityData<DefaultPropEntity>()
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.DefaultPropEntity") as EntityMetadata
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.DefaultPropEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun clone(): DefaultPropEntityData {
|
||||
|
||||
+4
-4
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.impl
|
||||
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
@@ -49,8 +48,8 @@ internal class EnumPropsEntityImpl(private val dataSource: EnumPropsEntityData)
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: EnumPropsEntityData?) : ModifiableWorkspaceEntityBase<EnumPropsEntity, EnumPropsEntityData>(
|
||||
result), EnumPropsEntity.Builder {
|
||||
internal class Builder(result: EnumPropsEntityData?) : ModifiableWorkspaceEntityBase<EnumPropsEntity, EnumPropsEntityData>(result),
|
||||
EnumPropsEntity.Builder {
|
||||
internal constructor() : this(EnumPropsEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -147,7 +146,8 @@ internal class EnumPropsEntityData : WorkspaceEntityData<EnumPropsEntity>() {
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.EnumPropsEntity") as EntityMetadata
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.EnumPropsEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun getEntityInterface(): Class<out WorkspaceEntity> {
|
||||
|
||||
+4
-11
@@ -2,14 +2,6 @@
|
||||
package com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.impl
|
||||
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeApiVersion
|
||||
import com.intellij.platform.workspace.storage.GeneratedCodeImplVersion
|
||||
import com.intellij.platform.workspace.storage.MutableEntityStorage
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntity
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntityInternalApi
|
||||
import com.intellij.platform.workspace.storage.impl.ModifiableWorkspaceEntityBase
|
||||
import com.intellij.platform.workspace.storage.impl.WorkspaceEntityBase
|
||||
import com.intellij.platform.workspace.storage.impl.WorkspaceEntityData
|
||||
@@ -60,8 +52,8 @@ internal class KeyPropEntityImpl(private val dataSource: KeyPropEntityData) : Ke
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: KeyPropEntityData?) : ModifiableWorkspaceEntityBase<KeyPropEntity, KeyPropEntityData>(
|
||||
result), KeyPropEntity.Builder {
|
||||
internal class Builder(result: KeyPropEntityData?) : ModifiableWorkspaceEntityBase<KeyPropEntity, KeyPropEntityData>(result),
|
||||
KeyPropEntity.Builder {
|
||||
internal constructor() : this(KeyPropEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -185,7 +177,8 @@ internal class KeyPropEntityData : WorkspaceEntityData<KeyPropEntity>() {
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.KeyPropEntity") as EntityMetadata
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.KeyPropEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun getEntityInterface(): Class<out WorkspaceEntity> {
|
||||
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.impl
|
||||
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntityInternalApi
|
||||
|
||||
+6
-6
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.impl
|
||||
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
@@ -23,8 +22,8 @@ import com.intellij.platform.workspace.storage.testEntities.entities.cacheVersio
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class NotNullToNullEntityImpl(private val dataSource: NotNullToNullEntityData) : NotNullToNullEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class NotNullToNullEntityImpl(private val dataSource: NotNullToNullEntityData) : NotNullToNullEntity,
|
||||
WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
|
||||
@@ -62,8 +61,8 @@ internal class NotNullToNullEntityImpl(private val dataSource: NotNullToNullEnti
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: NotNullToNullEntityData?) : ModifiableWorkspaceEntityBase<NotNullToNullEntity, NotNullToNullEntityData>(
|
||||
result), NotNullToNullEntity.Builder {
|
||||
internal class Builder(result: NotNullToNullEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<NotNullToNullEntity, NotNullToNullEntityData>(result), NotNullToNullEntity.Builder {
|
||||
internal constructor() : this(NotNullToNullEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -204,7 +203,8 @@ internal class NotNullToNullEntityData : WorkspaceEntityData<NotNullToNullEntity
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.NotNullToNullEntity") as EntityMetadata
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.NotNullToNullEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun clone(): NotNullToNullEntityData {
|
||||
|
||||
+6
-6
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.impl
|
||||
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
@@ -21,8 +20,8 @@ import com.intellij.platform.workspace.storage.testEntities.entities.cacheVersio
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class NullToNotNullEntityImpl(private val dataSource: NullToNotNullEntityData) : NullToNotNullEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class NullToNotNullEntityImpl(private val dataSource: NullToNotNullEntityData) : NullToNotNullEntity,
|
||||
WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
|
||||
@@ -60,8 +59,8 @@ internal class NullToNotNullEntityImpl(private val dataSource: NullToNotNullEnti
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: NullToNotNullEntityData?) : ModifiableWorkspaceEntityBase<NullToNotNullEntity, NullToNotNullEntityData>(
|
||||
result), NullToNotNullEntity.Builder {
|
||||
internal class Builder(result: NullToNotNullEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<NullToNotNullEntity, NullToNotNullEntityData>(result), NullToNotNullEntity.Builder {
|
||||
internal constructor() : this(NullToNotNullEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -173,7 +172,8 @@ internal class NullToNotNullEntityData : WorkspaceEntityData<NullToNotNullEntity
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.NullToNotNullEntity") as EntityMetadata
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.NullToNotNullEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun getEntityInterface(): Class<out WorkspaceEntity> {
|
||||
|
||||
+11
-11
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.impl
|
||||
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
@@ -28,13 +27,13 @@ import com.intellij.platform.workspace.storage.testEntities.entities.cacheVersio
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class OneToManyRefEntityImpl(private val dataSource: OneToManyRefEntityData) : OneToManyRefEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class OneToManyRefEntityImpl(private val dataSource: OneToManyRefEntityData) : OneToManyRefEntity,
|
||||
WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
internal val ANOTHERENTITY_CONNECTION_ID: ConnectionId = ConnectionId.create(OneToManyRefEntity::class.java,
|
||||
AnotherOneToManyRefEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_MANY, false)
|
||||
internal val ANOTHERENTITY_CONNECTION_ID: ConnectionId = ConnectionId.create(
|
||||
OneToManyRefEntity::class.java, AnotherOneToManyRefEntity::class.java, ConnectionId.ConnectionType.ONE_TO_MANY, false
|
||||
)
|
||||
|
||||
private val connections = listOf<ConnectionId>(
|
||||
ANOTHERENTITY_CONNECTION_ID,
|
||||
@@ -62,8 +61,8 @@ internal class OneToManyRefEntityImpl(private val dataSource: OneToManyRefEntity
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: OneToManyRefEntityData?) : ModifiableWorkspaceEntityBase<OneToManyRefEntity, OneToManyRefEntityData>(
|
||||
result), OneToManyRefEntity.Builder {
|
||||
internal class Builder(result: OneToManyRefEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<OneToManyRefEntity, OneToManyRefEntityData>(result), OneToManyRefEntity.Builder {
|
||||
internal constructor() : this(OneToManyRefEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -149,8 +148,8 @@ internal class OneToManyRefEntityImpl(private val dataSource: OneToManyRefEntity
|
||||
val _diff = diff
|
||||
return if (_diff != null) {
|
||||
@OptIn(EntityStorageInstrumentationApi::class)
|
||||
((_diff as MutableEntityStorageInstrumentation).getManyChildrenBuilders(ANOTHERENTITY_CONNECTION_ID,
|
||||
this)!!.toList() as List<AnotherOneToManyRefEntity.Builder>) +
|
||||
((_diff as MutableEntityStorageInstrumentation).getManyChildrenBuilders(ANOTHERENTITY_CONNECTION_ID, this)!!
|
||||
.toList() as List<AnotherOneToManyRefEntity.Builder>) +
|
||||
(this.entityLinks[EntityLink(true, ANOTHERENTITY_CONNECTION_ID)] as? List<AnotherOneToManyRefEntity.Builder> ?: emptyList())
|
||||
}
|
||||
else {
|
||||
@@ -218,7 +217,8 @@ internal class OneToManyRefEntityData : WorkspaceEntityData<OneToManyRefEntity>(
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.OneToManyRefEntity") as EntityMetadata
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.OneToManyRefEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun getEntityInterface(): Class<out WorkspaceEntity> {
|
||||
|
||||
+10
-9
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.impl
|
||||
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
@@ -30,9 +29,9 @@ import com.intellij.platform.workspace.storage.testEntities.entities.cacheVersio
|
||||
internal class OneToOneRefEntityImpl(private val dataSource: OneToOneRefEntityData) : OneToOneRefEntity, WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
internal val ANOTHERENTITY_CONNECTION_ID: ConnectionId = ConnectionId.create(OneToOneRefEntity::class.java,
|
||||
AnotherOneToOneRefEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_ONE, false)
|
||||
internal val ANOTHERENTITY_CONNECTION_ID: ConnectionId = ConnectionId.create(
|
||||
OneToOneRefEntity::class.java, AnotherOneToOneRefEntity::class.java, ConnectionId.ConnectionType.ONE_TO_ONE, false
|
||||
)
|
||||
|
||||
private val connections = listOf<ConnectionId>(
|
||||
ANOTHERENTITY_CONNECTION_ID,
|
||||
@@ -65,8 +64,8 @@ internal class OneToOneRefEntityImpl(private val dataSource: OneToOneRefEntityDa
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: OneToOneRefEntityData?) : ModifiableWorkspaceEntityBase<OneToOneRefEntity, OneToOneRefEntityData>(
|
||||
result), OneToOneRefEntity.Builder {
|
||||
internal class Builder(result: OneToOneRefEntityData?) : ModifiableWorkspaceEntityBase<OneToOneRefEntity, OneToOneRefEntityData>(result),
|
||||
OneToOneRefEntity.Builder {
|
||||
internal constructor() : this(OneToOneRefEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -146,8 +145,9 @@ internal class OneToOneRefEntityImpl(private val dataSource: OneToOneRefEntityDa
|
||||
val _diff = diff
|
||||
return if (_diff != null) {
|
||||
@OptIn(EntityStorageInstrumentationApi::class)
|
||||
((_diff as MutableEntityStorageInstrumentation).getOneChildBuilder(ANOTHERENTITY_CONNECTION_ID,
|
||||
this) as? AnotherOneToOneRefEntity.Builder)
|
||||
((_diff as MutableEntityStorageInstrumentation).getOneChildBuilder(
|
||||
ANOTHERENTITY_CONNECTION_ID, this
|
||||
) as? AnotherOneToOneRefEntity.Builder)
|
||||
?: (this.entityLinks[EntityLink(true, ANOTHERENTITY_CONNECTION_ID)] as? AnotherOneToOneRefEntity.Builder)
|
||||
}
|
||||
else {
|
||||
@@ -210,7 +210,8 @@ internal class OneToOneRefEntityData : WorkspaceEntityData<OneToOneRefEntity>()
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.OneToOneRefEntity") as EntityMetadata
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.OneToOneRefEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun getEntityInterface(): Class<out WorkspaceEntity> {
|
||||
|
||||
+6
-6
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.impl
|
||||
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
@@ -23,8 +22,8 @@ import com.intellij.platform.workspace.storage.testEntities.entities.cacheVersio
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class SimpleObjectsEntityImpl(private val dataSource: SimpleObjectsEntityData) : SimpleObjectsEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class SimpleObjectsEntityImpl(private val dataSource: SimpleObjectsEntityData) : SimpleObjectsEntity,
|
||||
WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
|
||||
@@ -51,8 +50,8 @@ internal class SimpleObjectsEntityImpl(private val dataSource: SimpleObjectsEnti
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: SimpleObjectsEntityData?) : ModifiableWorkspaceEntityBase<SimpleObjectsEntity, SimpleObjectsEntityData>(
|
||||
result), SimpleObjectsEntity.Builder {
|
||||
internal class Builder(result: SimpleObjectsEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<SimpleObjectsEntity, SimpleObjectsEntityData>(result), SimpleObjectsEntity.Builder {
|
||||
internal constructor() : this(SimpleObjectsEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -149,7 +148,8 @@ internal class SimpleObjectsEntityData : WorkspaceEntityData<SimpleObjectsEntity
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.SimpleObjectsEntity") as EntityMetadata
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.SimpleObjectsEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun getEntityInterface(): Class<out WorkspaceEntity> {
|
||||
|
||||
+4
-4
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.impl
|
||||
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
@@ -75,8 +74,8 @@ internal class SimplePropsEntityImpl(private val dataSource: SimplePropsEntityDa
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: SimplePropsEntityData?) : ModifiableWorkspaceEntityBase<SimplePropsEntity, SimplePropsEntityData>(
|
||||
result), SimplePropsEntity.Builder {
|
||||
internal class Builder(result: SimplePropsEntityData?) : ModifiableWorkspaceEntityBase<SimplePropsEntity, SimplePropsEntityData>(result),
|
||||
SimplePropsEntity.Builder {
|
||||
internal constructor() : this(SimplePropsEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -264,7 +263,8 @@ internal class SimplePropsEntityData : WorkspaceEntityData<SimplePropsEntity>()
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.SimplePropsEntity") as EntityMetadata
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.SimplePropsEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun clone(): SimplePropsEntityData {
|
||||
|
||||
+6
-6
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.impl
|
||||
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
@@ -23,8 +22,8 @@ import com.intellij.platform.workspace.storage.testEntities.entities.cacheVersio
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class SimpleSealedClassEntityImpl(private val dataSource: SimpleSealedClassEntityData) : SimpleSealedClassEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class SimpleSealedClassEntityImpl(private val dataSource: SimpleSealedClassEntityData) : SimpleSealedClassEntity,
|
||||
WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
|
||||
@@ -57,8 +56,8 @@ internal class SimpleSealedClassEntityImpl(private val dataSource: SimpleSealedC
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: SimpleSealedClassEntityData?) : ModifiableWorkspaceEntityBase<SimpleSealedClassEntity, SimpleSealedClassEntityData>(
|
||||
result), SimpleSealedClassEntity.Builder {
|
||||
internal class Builder(result: SimpleSealedClassEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<SimpleSealedClassEntity, SimpleSealedClassEntityData>(result), SimpleSealedClassEntity.Builder {
|
||||
internal constructor() : this(SimpleSealedClassEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -169,7 +168,8 @@ internal class SimpleSealedClassEntityData : WorkspaceEntityData<SimpleSealedCla
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.SimpleSealedClassEntity") as EntityMetadata
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.SimpleSealedClassEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun getEntityInterface(): Class<out WorkspaceEntity> {
|
||||
|
||||
+4
-4
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.impl
|
||||
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
@@ -49,8 +48,8 @@ internal class SubsetEnumEntityImpl(private val dataSource: SubsetEnumEntityData
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: SubsetEnumEntityData?) : ModifiableWorkspaceEntityBase<SubsetEnumEntity, SubsetEnumEntityData>(
|
||||
result), SubsetEnumEntity.Builder {
|
||||
internal class Builder(result: SubsetEnumEntityData?) : ModifiableWorkspaceEntityBase<SubsetEnumEntity, SubsetEnumEntityData>(result),
|
||||
SubsetEnumEntity.Builder {
|
||||
internal constructor() : this(SubsetEnumEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -147,7 +146,8 @@ internal class SubsetEnumEntityData : WorkspaceEntityData<SubsetEnumEntity>() {
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.SubsetEnumEntity") as EntityMetadata
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.SubsetEnumEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun getEntityInterface(): Class<out WorkspaceEntity> {
|
||||
|
||||
+6
-6
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.impl
|
||||
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
@@ -23,8 +22,8 @@ import com.intellij.platform.workspace.storage.testEntities.entities.cacheVersio
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class SubsetSealedClassEntityImpl(private val dataSource: SubsetSealedClassEntityData) : SubsetSealedClassEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class SubsetSealedClassEntityImpl(private val dataSource: SubsetSealedClassEntityData) : SubsetSealedClassEntity,
|
||||
WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
|
||||
@@ -51,8 +50,8 @@ internal class SubsetSealedClassEntityImpl(private val dataSource: SubsetSealedC
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: SubsetSealedClassEntityData?) : ModifiableWorkspaceEntityBase<SubsetSealedClassEntity, SubsetSealedClassEntityData>(
|
||||
result), SubsetSealedClassEntity.Builder {
|
||||
internal class Builder(result: SubsetSealedClassEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<SubsetSealedClassEntity, SubsetSealedClassEntityData>(result), SubsetSealedClassEntity.Builder {
|
||||
internal constructor() : this(SubsetSealedClassEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -149,7 +148,8 @@ internal class SubsetSealedClassEntityData : WorkspaceEntityData<SubsetSealedCla
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.SubsetSealedClassEntity") as EntityMetadata
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.cacheVersion.SubsetSealedClassEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun getEntityInterface(): Class<out WorkspaceEntity> {
|
||||
|
||||
+9
-9
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.platform.workspace.storage.testEntities.entities.currentVersion.impl
|
||||
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
@@ -28,13 +27,13 @@ import com.intellij.platform.workspace.storage.testEntities.entities.currentVers
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class AnotherOneToManyRefEntityImpl(private val dataSource: AnotherOneToManyRefEntityData) : AnotherOneToManyRefEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class AnotherOneToManyRefEntityImpl(private val dataSource: AnotherOneToManyRefEntityData) : AnotherOneToManyRefEntity,
|
||||
WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
internal val PARENTENTITY_CONNECTION_ID: ConnectionId = ConnectionId.create(OneToManyRefEntity::class.java,
|
||||
AnotherOneToManyRefEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_ONE, false)
|
||||
internal val PARENTENTITY_CONNECTION_ID: ConnectionId = ConnectionId.create(
|
||||
OneToManyRefEntity::class.java, AnotherOneToManyRefEntity::class.java, ConnectionId.ConnectionType.ONE_TO_ONE, false
|
||||
)
|
||||
|
||||
private val connections = listOf<ConnectionId>(
|
||||
PARENTENTITY_CONNECTION_ID,
|
||||
@@ -67,8 +66,8 @@ internal class AnotherOneToManyRefEntityImpl(private val dataSource: AnotherOneT
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: AnotherOneToManyRefEntityData?) : ModifiableWorkspaceEntityBase<AnotherOneToManyRefEntity, AnotherOneToManyRefEntityData>(
|
||||
result), AnotherOneToManyRefEntity.Builder {
|
||||
internal class Builder(result: AnotherOneToManyRefEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<AnotherOneToManyRefEntity, AnotherOneToManyRefEntityData>(result), AnotherOneToManyRefEntity.Builder {
|
||||
internal constructor() : this(AnotherOneToManyRefEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -222,7 +221,8 @@ internal class AnotherOneToManyRefEntityData : WorkspaceEntityData<AnotherOneToM
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.currentVersion.AnotherOneToManyRefEntity") as EntityMetadata
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.currentVersion.AnotherOneToManyRefEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun getEntityInterface(): Class<out WorkspaceEntity> {
|
||||
|
||||
+9
-9
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.platform.workspace.storage.testEntities.entities.currentVersion.impl
|
||||
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
@@ -27,13 +26,13 @@ import com.intellij.platform.workspace.storage.testEntities.entities.currentVers
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class AnotherOneToOneRefEntityImpl(private val dataSource: AnotherOneToOneRefEntityData) : AnotherOneToOneRefEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class AnotherOneToOneRefEntityImpl(private val dataSource: AnotherOneToOneRefEntityData) : AnotherOneToOneRefEntity,
|
||||
WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
internal val PARENTENTITY_CONNECTION_ID: ConnectionId = ConnectionId.create(OneToOneRefEntity::class.java,
|
||||
AnotherOneToOneRefEntity::class.java,
|
||||
ConnectionId.ConnectionType.ONE_TO_MANY, false)
|
||||
internal val PARENTENTITY_CONNECTION_ID: ConnectionId = ConnectionId.create(
|
||||
OneToOneRefEntity::class.java, AnotherOneToOneRefEntity::class.java, ConnectionId.ConnectionType.ONE_TO_MANY, false
|
||||
)
|
||||
|
||||
private val connections = listOf<ConnectionId>(
|
||||
PARENTENTITY_CONNECTION_ID,
|
||||
@@ -66,8 +65,8 @@ internal class AnotherOneToOneRefEntityImpl(private val dataSource: AnotherOneTo
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: AnotherOneToOneRefEntityData?) : ModifiableWorkspaceEntityBase<AnotherOneToOneRefEntity, AnotherOneToOneRefEntityData>(
|
||||
result), AnotherOneToOneRefEntity.Builder {
|
||||
internal class Builder(result: AnotherOneToOneRefEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<AnotherOneToOneRefEntity, AnotherOneToOneRefEntityData>(result), AnotherOneToOneRefEntity.Builder {
|
||||
internal constructor() : this(AnotherOneToOneRefEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -224,7 +223,8 @@ internal class AnotherOneToOneRefEntityData : WorkspaceEntityData<AnotherOneToOn
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.currentVersion.AnotherOneToOneRefEntity") as EntityMetadata
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.currentVersion.AnotherOneToOneRefEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun getEntityInterface(): Class<out WorkspaceEntity> {
|
||||
|
||||
+7
-5
@@ -23,8 +23,8 @@ import com.intellij.platform.workspace.storage.testEntities.entities.currentVers
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class ChangedComputablePropEntityImpl(private val dataSource: ChangedComputablePropEntityData) : ChangedComputablePropEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class ChangedComputablePropEntityImpl(private val dataSource: ChangedComputablePropEntityData) : ChangedComputablePropEntity,
|
||||
WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
|
||||
@@ -53,8 +53,9 @@ internal class ChangedComputablePropEntityImpl(private val dataSource: ChangedCo
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: ChangedComputablePropEntityData?) : ModifiableWorkspaceEntityBase<ChangedComputablePropEntity, ChangedComputablePropEntityData>(
|
||||
result), ChangedComputablePropEntity.Builder {
|
||||
internal class Builder(result: ChangedComputablePropEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<ChangedComputablePropEntity, ChangedComputablePropEntityData>(result),
|
||||
ChangedComputablePropEntity.Builder {
|
||||
internal constructor() : this(ChangedComputablePropEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -150,7 +151,8 @@ internal class ChangedComputablePropEntityData : WorkspaceEntityData<ChangedComp
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.currentVersion.ChangedComputablePropEntity") as EntityMetadata
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.currentVersion.ChangedComputablePropEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun getEntityInterface(): Class<out WorkspaceEntity> {
|
||||
|
||||
+7
-5
@@ -25,8 +25,8 @@ import com.intellij.platform.workspace.storage.testEntities.entities.currentVers
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class ChangedComputablePropsOrderEntityImpl(private val dataSource: ChangedComputablePropsOrderEntityData) : ChangedComputablePropsOrderEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class ChangedComputablePropsOrderEntityImpl(private val dataSource: ChangedComputablePropsOrderEntityData) :
|
||||
ChangedComputablePropsOrderEntity, WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
|
||||
@@ -66,8 +66,9 @@ internal class ChangedComputablePropsOrderEntityImpl(private val dataSource: Cha
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: ChangedComputablePropsOrderEntityData?) : ModifiableWorkspaceEntityBase<ChangedComputablePropsOrderEntity, ChangedComputablePropsOrderEntityData>(
|
||||
result), ChangedComputablePropsOrderEntity.Builder {
|
||||
internal class Builder(result: ChangedComputablePropsOrderEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<ChangedComputablePropsOrderEntity, ChangedComputablePropsOrderEntityData>(result),
|
||||
ChangedComputablePropsOrderEntity.Builder {
|
||||
internal constructor() : this(ChangedComputablePropsOrderEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -206,7 +207,8 @@ internal class ChangedComputablePropsOrderEntityData : WorkspaceEntityData<Chang
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.currentVersion.ChangedComputablePropsOrderEntity") as EntityMetadata
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.currentVersion.ChangedComputablePropsOrderEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun clone(): ChangedComputablePropsOrderEntityData {
|
||||
|
||||
+6
-6
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.platform.workspace.storage.testEntities.entities.currentVersion.impl
|
||||
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
@@ -22,8 +21,8 @@ import com.intellij.platform.workspace.storage.testEntities.entities.currentVers
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class ChangedEnumNameEntityImpl(private val dataSource: ChangedEnumNameEntityData) : ChangedEnumNameEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class ChangedEnumNameEntityImpl(private val dataSource: ChangedEnumNameEntityData) : ChangedEnumNameEntity,
|
||||
WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
|
||||
@@ -50,8 +49,8 @@ internal class ChangedEnumNameEntityImpl(private val dataSource: ChangedEnumName
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: ChangedEnumNameEntityData?) : ModifiableWorkspaceEntityBase<ChangedEnumNameEntity, ChangedEnumNameEntityData>(
|
||||
result), ChangedEnumNameEntity.Builder {
|
||||
internal class Builder(result: ChangedEnumNameEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<ChangedEnumNameEntity, ChangedEnumNameEntityData>(result), ChangedEnumNameEntity.Builder {
|
||||
internal constructor() : this(ChangedEnumNameEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -148,7 +147,8 @@ internal class ChangedEnumNameEntityData : WorkspaceEntityData<ChangedEnumNameEn
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.currentVersion.ChangedEnumNameEntity") as EntityMetadata
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.currentVersion.ChangedEnumNameEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun getEntityInterface(): Class<out WorkspaceEntity> {
|
||||
|
||||
+6
-6
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.platform.workspace.storage.testEntities.entities.currentVersion.impl
|
||||
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
@@ -24,8 +23,8 @@ import com.intellij.platform.workspace.storage.testEntities.entities.currentVers
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class ChangedPropsOrderEntityImpl(private val dataSource: ChangedPropsOrderEntityData) : ChangedPropsOrderEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class ChangedPropsOrderEntityImpl(private val dataSource: ChangedPropsOrderEntityData) : ChangedPropsOrderEntity,
|
||||
WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
|
||||
@@ -69,8 +68,8 @@ internal class ChangedPropsOrderEntityImpl(private val dataSource: ChangedPropsO
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: ChangedPropsOrderEntityData?) : ModifiableWorkspaceEntityBase<ChangedPropsOrderEntity, ChangedPropsOrderEntityData>(
|
||||
result), ChangedPropsOrderEntity.Builder {
|
||||
internal class Builder(result: ChangedPropsOrderEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<ChangedPropsOrderEntity, ChangedPropsOrderEntityData>(result), ChangedPropsOrderEntity.Builder {
|
||||
internal constructor() : this(ChangedPropsOrderEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -227,7 +226,8 @@ internal class ChangedPropsOrderEntityData : WorkspaceEntityData<ChangedPropsOrd
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.currentVersion.ChangedPropsOrderEntity") as EntityMetadata
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.currentVersion.ChangedPropsOrderEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun clone(): ChangedPropsOrderEntityData {
|
||||
|
||||
+6
-6
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.platform.workspace.storage.testEntities.entities.currentVersion.impl
|
||||
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
@@ -23,8 +22,8 @@ import com.intellij.platform.workspace.storage.testEntities.entities.currentVers
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class ChangedValueTypeEntityImpl(private val dataSource: ChangedValueTypeEntityData) : ChangedValueTypeEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class ChangedValueTypeEntityImpl(private val dataSource: ChangedValueTypeEntityData) : ChangedValueTypeEntity,
|
||||
WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
|
||||
@@ -63,8 +62,8 @@ internal class ChangedValueTypeEntityImpl(private val dataSource: ChangedValueTy
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: ChangedValueTypeEntityData?) : ModifiableWorkspaceEntityBase<ChangedValueTypeEntity, ChangedValueTypeEntityData>(
|
||||
result), ChangedValueTypeEntity.Builder {
|
||||
internal class Builder(result: ChangedValueTypeEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<ChangedValueTypeEntity, ChangedValueTypeEntityData>(result), ChangedValueTypeEntity.Builder {
|
||||
internal constructor() : this(ChangedValueTypeEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -209,7 +208,8 @@ internal class ChangedValueTypeEntityData : WorkspaceEntityData<ChangedValueType
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.currentVersion.ChangedValueTypeEntity") as EntityMetadata
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.currentVersion.ChangedValueTypeEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun clone(): ChangedValueTypeEntityData {
|
||||
|
||||
+6
-6
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.platform.workspace.storage.testEntities.entities.currentVersion.impl
|
||||
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
@@ -23,8 +22,8 @@ import com.intellij.platform.workspace.storage.testEntities.entities.currentVers
|
||||
@GeneratedCodeApiVersion(3)
|
||||
@GeneratedCodeImplVersion(6)
|
||||
@OptIn(WorkspaceEntityInternalApi::class)
|
||||
internal class ComputablePropEntityImpl(private val dataSource: ComputablePropEntityData) : ComputablePropEntity, WorkspaceEntityBase(
|
||||
dataSource) {
|
||||
internal class ComputablePropEntityImpl(private val dataSource: ComputablePropEntityData) : ComputablePropEntity,
|
||||
WorkspaceEntityBase(dataSource) {
|
||||
|
||||
private companion object {
|
||||
|
||||
@@ -62,8 +61,8 @@ internal class ComputablePropEntityImpl(private val dataSource: ComputablePropEn
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: ComputablePropEntityData?) : ModifiableWorkspaceEntityBase<ComputablePropEntity, ComputablePropEntityData>(
|
||||
result), ComputablePropEntity.Builder {
|
||||
internal class Builder(result: ComputablePropEntityData?) :
|
||||
ModifiableWorkspaceEntityBase<ComputablePropEntity, ComputablePropEntityData>(result), ComputablePropEntity.Builder {
|
||||
internal constructor() : this(ComputablePropEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -205,7 +204,8 @@ internal class ComputablePropEntityData : WorkspaceEntityData<ComputablePropEnti
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.currentVersion.ComputablePropEntity") as EntityMetadata
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.currentVersion.ComputablePropEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun clone(): ComputablePropEntityData {
|
||||
|
||||
+4
-4
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.platform.workspace.storage.testEntities.entities.currentVersion.impl
|
||||
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
@@ -62,8 +61,8 @@ internal class DefaultPropEntityImpl(private val dataSource: DefaultPropEntityDa
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: DefaultPropEntityData?) : ModifiableWorkspaceEntityBase<DefaultPropEntity, DefaultPropEntityData>(
|
||||
result), DefaultPropEntity.Builder {
|
||||
internal class Builder(result: DefaultPropEntityData?) : ModifiableWorkspaceEntityBase<DefaultPropEntity, DefaultPropEntityData>(result),
|
||||
DefaultPropEntity.Builder {
|
||||
internal constructor() : this(DefaultPropEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -205,7 +204,8 @@ internal class DefaultPropEntityData : WorkspaceEntityData<DefaultPropEntity>()
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.currentVersion.DefaultPropEntity") as EntityMetadata
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.currentVersion.DefaultPropEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun clone(): DefaultPropEntityData {
|
||||
|
||||
+4
-4
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.platform.workspace.storage.testEntities.entities.currentVersion.impl
|
||||
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
@@ -49,8 +48,8 @@ internal class EnumPropsEntityImpl(private val dataSource: EnumPropsEntityData)
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: EnumPropsEntityData?) : ModifiableWorkspaceEntityBase<EnumPropsEntity, EnumPropsEntityData>(
|
||||
result), EnumPropsEntity.Builder {
|
||||
internal class Builder(result: EnumPropsEntityData?) : ModifiableWorkspaceEntityBase<EnumPropsEntity, EnumPropsEntityData>(result),
|
||||
EnumPropsEntity.Builder {
|
||||
internal constructor() : this(EnumPropsEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -147,7 +146,8 @@ internal class EnumPropsEntityData : WorkspaceEntityData<EnumPropsEntity>() {
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.currentVersion.EnumPropsEntity") as EntityMetadata
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.currentVersion.EnumPropsEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun getEntityInterface(): Class<out WorkspaceEntity> {
|
||||
|
||||
+4
-4
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.platform.workspace.storage.testEntities.entities.currentVersion.impl
|
||||
|
||||
import com.intellij.platform.workspace.storage.*
|
||||
import com.intellij.platform.workspace.storage.ConnectionId
|
||||
import com.intellij.platform.workspace.storage.EntitySource
|
||||
import com.intellij.platform.workspace.storage.EntityType
|
||||
@@ -60,8 +59,8 @@ internal class KeyPropEntityImpl(private val dataSource: KeyPropEntityData) : Ke
|
||||
}
|
||||
|
||||
|
||||
internal class Builder(result: KeyPropEntityData?) : ModifiableWorkspaceEntityBase<KeyPropEntity, KeyPropEntityData>(
|
||||
result), KeyPropEntity.Builder {
|
||||
internal class Builder(result: KeyPropEntityData?) : ModifiableWorkspaceEntityBase<KeyPropEntity, KeyPropEntityData>(result),
|
||||
KeyPropEntity.Builder {
|
||||
internal constructor() : this(KeyPropEntityData())
|
||||
|
||||
override fun applyToBuilder(builder: MutableEntityStorage) {
|
||||
@@ -185,7 +184,8 @@ internal class KeyPropEntityData : WorkspaceEntityData<KeyPropEntity>() {
|
||||
|
||||
override fun getMetadata(): EntityMetadata {
|
||||
return MetadataStorageImpl.getMetadataByTypeFqn(
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.currentVersion.KeyPropEntity") as EntityMetadata
|
||||
"com.intellij.platform.workspace.storage.testEntities.entities.currentVersion.KeyPropEntity"
|
||||
) as EntityMetadata
|
||||
}
|
||||
|
||||
override fun getEntityInterface(): Class<out WorkspaceEntity> {
|
||||
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.platform.workspace.storage.testEntities.entities.currentVersion.impl
|
||||
|
||||
import com.intellij.platform.workspace.storage.WorkspaceEntityInternalApi
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user