W3cubDocs

/Kotlin

<init>

Platform and version requirements: JVM (1.0), JS (1.0), Native (1.3)
<init>(expression: String, vararg imports: String)

Specifies a code fragment that can be used to replace a deprecated function, property or class. Tools such as IDEs can automatically apply the replacements specified through this annotation.

© 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/-replace-with/-init-.html