Inspectopedia Help

Inline classes are deprecated since 1.5

Reports inline classes that are deprecated and cause compilation warnings in Kotlin 1.5 and later. See What's new in Kotlin 1.5.0

Example:

inline class Password(val s: String)

After the quick-fix is applied:

@JvmInline value class Password(val s: String)

Inspection is available for Kotlin language level starting from 1.5.

Inspection Details

Available in:

IntelliJ IDEA 2023.3, Qodana for JVM 2023.3

Plugin:

Kotlin, @snapshot@

Last modified: 13 July 2023