UseExperimental(vararg markerClass: KClass<out Annotation>)

Allows to use experimental API denoted by the given markers in the annotated file, declaration, or expression. Each of the given markers must be an annotation class, whose impact (Experimental.changesMayBreak) is Experimental.Impact.COMPILATION. Any other given annotation classes have no effect and are ignored.

Only allows non-signature usages of the experimental API, i.e. inside a function body, variable initializer, default argument value, etc. (Usages in declaration signatures must be propagated by annotating the affected signature with the marker annotation itself.)