<init>

Common
JVM
JS
Native
1.0
RequiresOptIn(
    message: String = "",
    level: Level = Level.ERROR)

Signals that the annotated annotation class is a marker of an API that requires an explicit opt-in.

Call sites of any declaration annotated with that marker should opt in to the API either by using OptIn, or by being annotated with that marker themselves, effectively causing further propagation of the opt-in requirement.

This class requires opt-in itself and can only be used with the compiler argument -opt-in=kotlin.RequiresOptIn.