Experimental


@Retention(value = AnnotationRetention.BINARY)
@Target(allowedTargets = [AnnotationTarget.ANNOTATION_CLASS])
annotation Experimental


Denotes that the annotated element is a marker of an experimental API.

Any declaration annotated with this marker is considered part of an unstable API surface 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.

Summary

Nested types

Severity of the diagnostic that should be reported on usages of experimental API which did not explicitly accept the experimental aspect of that API either by using UseExperimental or by being annotated with the corresponding marker annotation.

Public constructors

Public properties

Experimental.Level

Defines the reporting level for incorrect usages of this experimental API.

Public constructors

Experimental

Experimental(level: Experimental.Level = Level.ERROR)

Public properties

level

val levelExperimental.Level

Defines the reporting level for incorrect usages of this experimental API.