Skip to content

KotlinStubVersions

Properties

BUILTIN_STUB_VERSION

BuiltIn stub version should be increased if changes are made to builtIn stub building subsystem (org.jetbrains.kotlin.idea.decompiler.builtIns) Increasing this version will lead to reindexing of all builtIn files (see KotlinBuiltInFileType).

CLASSFILE_STUB_VERSION

Classfile stub version should be increased if changes are made to classfile stub building subsystem (org.jetbrains.kotlin.idea.decompiler.classFile) Increasing this version will lead to reindexing of all classfiles.

KLIB_STUB_VERSION

const val KLIB_STUB_VERSION: Int

Klib stub version should be increased if changes are made to the Klib stub building subsystem (org.jetbrains.kotlin.analysis.decompiler.konan). Increasing this version will lead to reindexing of .knm binary files (see KlibMetaFileType).

SOURCE_STUB_VERSION

const val SOURCE_STUB_VERSION: Int = 312

Source stub version should be increased if stub format (org.jetbrains.kotlin.psi.stubs.impl) is changed or changes are made to the parser that can potentially modify the psi structure of kotlin source code. Though only kotlin declarations (no code in the bodies) are stubbed, please do increase this version if you are not 100% sure it can be avoided. Increasing this version will lead to reindexing of all kotlin source files on the first IDE startup with the new version.