ExperimentalUuidApi
@Target([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]) annotation class ExperimentalUuidApi
(source)
This annotation marks the experimental Kotlin Uuid API.
Beware using the annotated API especially if you're developing a library, since your library might become binary incompatible with the future versions of the standard library.
Any usage of a declaration annotated with @ExperimentalUuidApi
must be accepted either by
annotating that usage with the OptIn annotation, e.g. @OptIn(ExperimentalUuidApi::class)
,
or by using the compiler argument -opt-in=kotlin.uuid.ExperimentalUuidApi
.
Constructors
<init>
This annotation marks the experimental Kotlin Uuid API.
ExperimentalUuidApi()