mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[Workspace Model] [IJPL-857] Update codegen according to changes in the WorkspaceEntity.Builder
GitOrigin-RevId: f1bb40fda785119cb2f7064fa60d58640785d267
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e710b04569
commit
62ff7ae1e0
@@ -1,3 +1,3 @@
|
||||
codegenImplMinorVersion = 10
|
||||
codegenImplMinorVersion = 11
|
||||
codegenImplMajorVersion = 5
|
||||
codegenApiVersion = 3
|
||||
-1
@@ -45,7 +45,6 @@ fun ObjClass<*>.implWsDataClassCode(): String {
|
||||
"override fun wrapAsModifiable(diff: ${MutableEntityStorage}): ${WorkspaceEntity.Builder}<$javaFullName>") {
|
||||
line("val modifiable = $javaImplBuilderName(null)")
|
||||
line("modifiable.diff = diff")
|
||||
line("modifiable.snapshot = diff")
|
||||
line("modifiable.id = createEntityId()")
|
||||
line("return modifiable")
|
||||
}
|
||||
|
||||
-1
@@ -25,7 +25,6 @@ ${
|
||||
}
|
||||
line()
|
||||
line("this.diff = builder")
|
||||
line("this.snapshot = builder")
|
||||
line("addToBuilder()")
|
||||
line("this.id = getEntityData().createEntityId()")
|
||||
lineComment("After adding entity data to the builder, we need to unbind it and move the control over entity data to builder")
|
||||
|
||||
Reference in New Issue
Block a user