ExperimentalUnicodeApi
@Target(allowedTargets = [AnnotationTarget.CLASS, AnnotationTarget.ANNOTATION_CLASS, AnnotationTarget.PROPERTY, AnnotationTarget.FIELD, AnnotationTarget.LOCAL_VARIABLE, AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.CONSTRUCTOR, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.TYPEALIAS] )
Marks the experimental Unicode CodePoint API.
Usages of such API will be reported as errors unless an explicit opt-in with the OptIn annotation, e.g. @OptIn(ExperimentalUnicodeApi::class), or with the -opt-in=kotlin.text.unicode.ExperimentalUnicodeApi compiler option is given.
It's recommended to propagate the experimental status to the API that depends on Unicode CodePoint API by annotating it with this annotation.