Platform and version requirements: JVM (1.0), JS (1.0), Native (1.0)
UseExperimental(vararg markerClass: KClass<out Annotation>)

Allows to use experimental API denoted by the given markers in the annotated file, declaration, or expression. If a declaration is annotated with UseExperimental, its usages are not required to opt-in to that experimental API.

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.