W3cubDocs

/Kotlin

extraInt

Platform and version requirements: JVM (1.1)
val extraInt: Int

An extra int. Bits of this number represent the following flags:

  • 0 - this is a multi-file class facade or part, compiled with -Xmultifile-parts-inherit.
  • 1 - this class file is compiled by a pre-release version of Kotlin and is not visible to release versions.
  • 2 - this class file is a compiled Kotlin script source file (.kts).
  • 3 - the metadata of this class file is not supposed to be read by the compiler, whose major.minor version is less than the major.minor version of this metadata (metadataVersion).
  • 4 - this class file is compiled with the new Kotlin compiler backend introduced in Kotlin 1.4.
  • 5 - if the class file is compiled with the new Kotlin compiler backend, the metadata has been verified by the author and no metadata incompatibility diagnostic should be reported at the call site.

© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-metadata/extra-int.html