You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[PSI] KotlinClassStubImpl: add info about value class representation for cli
This information is required during deserialization of FIR from stubs
as the provider cannot have recursive access to the cache. Alternative
solution would be lazy calculated `valueClassRepresentation`, but the
compiler prefers having right away calculations to reduce the number
of implicit calculations.
New information will be available only for stubs from compiled code.
^KT-69398
Copy file name to clipboardExpand all lines: analysis/decompiled/decompiler-to-file-stubs/testData/additionalClsStubInfo/MultiFieldValueClassWithTypeAlias/MultiFieldValueClassWithTypeAlias.txt
Copy file name to clipboardExpand all lines: analysis/decompiled/decompiler-to-file-stubs/testData/additionalClsStubInfo/NestedMultiFieldValueClass/NestedMultiFieldValueClass.txt
Copy file name to clipboardExpand all lines: analysis/decompiled/decompiler-to-file-stubs/testData/additionalClsStubInfo/ValueClassWithAnotherValueClass/ValueClassWithAnotherValueClass.txt
Copy file name to clipboardExpand all lines: analysis/decompiled/decompiler-to-file-stubs/testData/additionalClsStubInfo/ValueClassWithMultiFieldValueClass/ValueClassWithMultiFieldValueClass.txt
Copy file name to clipboardExpand all lines: analysis/decompiled/decompiler-to-file-stubs/testData/additionalClsStubInfo/ValueClassWithNestedClass/ValueClassWithNestedClass.txt
Copy file name to clipboardExpand all lines: analysis/decompiled/decompiler-to-file-stubs/testData/additionalClsStubInfo/ValueClassWithNullableMultiFieldValueClass/ValueClassWithNullableMultiFieldValueClass.txt
Copy file name to clipboardExpand all lines: analysis/decompiled/decompiler-to-file-stubs/testData/additionalClsStubInfo/ValueClassWithTypeAliasOnAnotherValueClass/ValueClassWithTypeAliasOnAnotherValueClass.txt
Copy file name to clipboardExpand all lines: analysis/decompiled/decompiler-to-file-stubs/tests/org/jetbrains/kotlin/analysis/decompiler/stub/files/AdditionalStubInfoExtraction.kt
+3
Original file line number
Diff line number
Diff line change
@@ -67,6 +67,9 @@ private fun extractAdditionInfo(stub: StubElement<*>, builder: StringBuilder, le
Copy file name to clipboardExpand all lines: analysis/decompiled/decompiler-to-stubs/src/org/jetbrains/kotlin/analysis/decompiler/stub/ClassClsStubBuilder.kt
+17-4
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,7 @@
1
-
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
1
+
/*
2
+
* Copyright 2010-2024 JetBrains s.r.o. and Kotlin Programming Language contributors.
3
+
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
Copy file name to clipboardExpand all lines: compiler/psi/src/org/jetbrains/kotlin/psi/stubs/KotlinStubVersions.kt
+3-3
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors.
2
+
* Copyright 2010-2024 JetBrains s.r.o. and Kotlin Programming Language contributors.
3
3
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
4
4
*/
5
5
@@ -12,12 +12,12 @@ object KotlinStubVersions {
12
12
// Though only kotlin declarations (no code in the bodies) are stubbed, please do increase this version
13
13
// if you are not 100% sure it can be avoided.
14
14
// Increasing this version will lead to reindexing of all kotlin source files on the first IDE startup with the new version.
15
-
constvalSOURCE_STUB_VERSION=165
15
+
constvalSOURCE_STUB_VERSION=166
16
16
17
17
// Binary stub version should be increased if stub format (org.jetbrains.kotlin.psi.stubs.impl) is changed
18
18
// or changes are made to the core stub building code (org.jetbrains.kotlin.idea.decompiler.stubBuilder).
19
19
// Increasing this version will lead to reindexing of all binary files that are potentially kotlin binaries (including all class files).
20
-
privateconstvalBINARY_STUB_VERSION=106
20
+
privateconstvalBINARY_STUB_VERSION=107
21
21
22
22
// Classfile stub version should be increased if changes are made to classfile stub building subsystem (org.jetbrains.kotlin.idea.decompiler.classFile)
23
23
// Increasing this version will lead to reindexing of all classfiles.
0 commit comments