commonMain.com.javiersc.kotlin.kopy.KopyOptIn.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kopy-runtime Show documentation
Show all versions of kopy-runtime Show documentation
A compiler plugin to improve how to copy data classes with a nice DSL in Kotlin.
package com.javiersc.kotlin.kopy
@RequiresOptIn(
message =
"""The Kopy plugin must be applied to use this API:
• https://github.com/JavierSegoviaCordoba/kopy
""",
)
@Retention(AnnotationRetention.BINARY)
@Target(AnnotationTarget.FUNCTION)
public annotation class KopyOptIn