summaryrefslogtreecommitdiff
path: root/plugins/kotlin/idea/resources-en/inspectionDescriptions/InlineClassDeprecatedMigration.html
blob: a23722fe70cc6143a6404495c8965b6ac677c498 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<html>
<body>
<p>
    Reports inline classes that are deprecated and cause compilation warnings in Kotlin 1.5 and later.
    See <a href="https://kotlinlang.org/docs/whatsnew15.html#inline-classes">What's new in Kotlin 1.5.0</a>
</p>

<p>Example:</p>
<pre><code>
  inline class Password(val s: String)
</code></pre>

<p>After the quick-fix is applied:</p>
<pre><code>
  @JvmInline
  value class Password(val s: String)
</code></pre>

<p>Inspection is available for Kotlin language level starting from 1.5.</p>
</body>
</html>