Platform and version requirements: JVM (1.0), JS (1.0), Native (1.0)
Experimental(level: Level = Level.ERROR)

Signals that the annotated annotation class is a marker of an experimental API.

Any declaration annotated with that marker is considered an experimental declaration and its call sites should accept the experimental aspect of it either by using UseExperimental, or by being annotated with that marker themselves, effectively causing further propagation of that experimental aspect.

This class is deprecated in favor of a more general approach provided by RequiresOptIn/OptIn.

© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.